Pager Widget

If you are looking for a way to quickly add a pager to your web app and you don't want to write several lines of code then look no further.

The new Pager Widget is exactly what you're looking for. It's simple and easy to use. Just follow the steps below and you will be up and running in no time:

Step 1: Download and extract the Pager Widget zip file

Step 2: Copy the pager.php file to the raxan/ui/widgets folder

Step 3: Add the following code to your html code

    <div id="pager1"
         xt-ui="Pager"
         xt-ui-pagerSize="6"
         xt-ui-totalPages="50"
         xt-ui-itemClass="rax-glossy rax-active-pal"></div>

Step 4: Add the following code to you web page or css theme:

<style type="text/css">
    .rax-pager a {
        width:25px;
        height:20px;
        display:inline-block !important;
        display:inline; /* for  ie 6 */
        line-height: 20px;
        text-align: center;
        margin: 0 2px;
        vertical-align: middle;
        border: solid 1px #ccc;
    }
</style>

Step 5: Add the following code to your Page Controller Class

<?php
    Raxan::loadWidget('pager');
?>

Step 6: View the page within the browser and you should be the Pager Widget

To listen to the pagechange event add the following attribute to your pager element:

xt-bind="pagechange,updateDisplay"

Then add the following event code to your page controller class:

<?php
    public function updateDisplay($e,$page) {
        $this->append("You have selected Page # ".$page);
    }
?>
Pager Widget

There are lots of way you can customize the pager widget so be sure to check out the available options.

See it in Action:
DEMO  DOWNLOAD


Widget Properties
Name Description Default Value
Properties    
currentPage Current selected page 1
totalPages Total number of pages 10
pagerSize Number of pages to shown on pager. 5  
truncateSize Number of pages to truncate 0
truncateOffset Pager truncate offset 0
delimiter Delimiter to be used when rendering page items  
showPrevNext Shows the Next and Previous buttons 0
baseClass Main css class for the widget rax-pager
itemClass CSS class to be assigned to a page item rax-inactive-pal
selectedItemClass CSS Class to be assigned to the selected page item rax-selected-pal
prevNextClass CSS class to be assigned to the Next and Previous buttons rax-inactive-pal
enableAjaxMode Enable Ajax Mode 0
     
Methods    
     
Events    
pagechange Page Change Event.
Event Handler Syntax: function($e,$page)
 
Moncler Jackets Canada 1
Posts: 2768
Comment
Griff329
Reply #9 on : Thu February 08, 2018, 08:46:09
I enjoy, cause I found exactly what I was having a look for. You have ended my four day lengthy hunt! God Bless you man. Have a nice day. Bye
Moncler Jackets Canada 1 https://www.instagrameeeeeee323.com
Moncler Jackets Canada 1
Posts: 2768
Comment
URLs470
Reply #8 on : Thu February 08, 2018, 08:46:31
I not sure where you are getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thanks for great info I was looking for this information for my mission.
Moncler Jackets Canada 1 https://www.instagrameeeeeee323.com
Moncler Jackets Canada 1
Posts: 2768
Comment
Excell283
Reply #7 on : Thu February 08, 2018, 12:12:51
I discovered your weblog website on google and examine a few of your early posts. Continue to maintain up the very good operate. I simply extra up your RSS feed to my MSN News Reader. Looking for forward to studying extra from you later on!?
[url=https://www.instagrameeeeeee323.com]Moncler Jackets Canada 1[/url]
Moncler Jackets Canada 1
Posts: 2768
Comment
Thespian233
Reply #6 on : Thu February 08, 2018, 12:16:22
Wow that was strange. I just wrote an really long comment but after I clicked submit my comment didn't show up. Grrrr... well I'm not writing all that over again. Anyway, just wanted to say superb blog!
Moncler Jackets Canada 1 https://www.instagrameeeeeee323.com
cglcoverage
Posts: 2768
Comment
Holiday445
Reply #5 on : Tue August 28, 2018, 20:54:38
<a href="http://www.naturalyfastpantry.com/">naturalyfastpantry</a>, <a href="http://www.freedomrealtyonline.com/">freedomrealtyonline</a>,
cglcoverage http://www.cglcoverage.com/
adidas conductor easter espres macaw
Posts: 2768
Comment
Unity190
Reply #4 on : Thu September 20, 2018, 17:04:00
<a href="http://www.wanakacarrentals.com/free-delivery/spikes-nike-baseball">spikes nike baseball</a><a href="http://www.wanakacarrentals.com/free-shipping/adidas-nmd-xr1-primeknit-grey-a1n8018">adidas nmd xr1 primeknit grey a1n8018</a><a href="http://www.wanakacarrentals.com/hot-sale/air-jordan-10-retro-smoke-grey">air jordan 10 retro smoke grey</a><a href="http://www.wanakacarrentals.com/just-release/cheap-flights-to-jordan">cheap flights to jordan</a>
adidas conductor easter espres macaw http://www.renardetcorbeau.com/cheap-classic/adidas-conductor-easter-espres-macaw
air jordan retro 4 iv white black red laser
Posts: 2768
Comment
Template464
Reply #3 on : Mon October 15, 2018, 09:10:07
<a href="http://www.taxifiestafrederick.com/brands/jordan-x-us-uk-air-jordan-5-desert-camo-bamboo-black-classic-stone">jordan x us uk air jordan 5 desert camo bamboo black classic stone</a><a href="http://www.taxifiestafrederick.com/cheap-store/nike-roshe-one-hyperfuse-prm-mercurial">nike roshe one hyperfuse prm mercurial</a><a href="http://www.taxifiestafrederick.com/collection/new-balance-1400-brogue">new balance 1400 brogue</a><a href="http://www.taxifiestafrederick.com/complete-size/asics-gel-lyte-v-knit-first-look">asics gel lyte v knit first look</a>
air jordan retro 4 iv white black red laser http://www.myoceanhouse.com/cheap-store/air-jordan-retro-4-iv-white-black-red-laser
sneakers releasing this weekend august 15th 2015
Posts: 2768
Comment
Marit849
Reply #2 on : Mon October 22, 2018, 00:43:41
<a href="http://www.myovs-int.com/Upcoming-Sneakers/nike-huarache-run-ultra-boys-toddler-black-red">nike huarache run ultra boys toddler black red</a><a href="http://www.myovs-int.com/Where-to-buy/adidas-nmd-monochrome-pack">adidas nmd monochrome pack</a><a href="http://www.myovs-int.com/wholesale-store/nike-air-jordan-ix-boot-nrg-black-light-gum">nike air jordan ix boot nrg black light gum</a><a href="http://www.myovs-int.com/worth-to-buy/nike-air-max-1-premium-sc-womens-shoes-aa0512-600">nike air max 1 premium sc womens shoes aa0512 600</a>
sneakers releasing this weekend august 15th 2015 http://www.europeiskabarskolan.com/on-feet/sneakers-releasing-this-weekend-august-15th-2015
neymar hypervenom 2016 price
Posts: 2768
Comment
Query723
Reply #1 on : Wed November 14, 2018, 02:19:14
<a href="http://www.meiteam.com/on sale/cheap-mens-nike-air-max-2017-shoes-black-grey-orange">cheap mens nike air max 2017 shoes black grey orange</a><a href="http://www.meiteam.com/online-sale/womens-nike-pink-black-free-run-2-running-shoe">womens nike pink black free run 2 running shoe</a><a href="http://www.meiteam.com/online-shop/orange-blue-kd-7-2015-mens-shoes-nike">orange blue kd 7 2015 mens shoes nike</a><a href="http://www.meiteam.com/online/mens-nike-air-max-running-shoes-white-black-orange-2015">mens nike air max running shoes white black orange 2015</a>
neymar hypervenom 2016 price http://www.buechner-gmbh.com/discount-price/neymar-hypervenom-2016-price
First | Previous | Showing comments 2731 to 2739 of 2739

Leave a Comment

Required fields are marked with *.
If you have trouble reading the code, click on the code itself to generate a new random code.