customizing the Showing xx to yy of zzz entries
customizing the Showing xx to yy of zzz entries
Vadivel
Posts: 10Questions: 1Answers: 0
Hi Friends,
i want to customize the showing entries at button when i click First,Previous,Next and Last in my data table of loading data from server-side on my every click . pls help to achieve this one.now defaultly use "iTotalRecords" but not working.
i want to customize the showing entries at button when i click First,Previous,Next and Last in my data table of loading data from server-side on my every click . pls help to achieve this one.now defaultly use "iTotalRecords" but not working.
This discussion has been closed.
Replies
From ur above link i can able to change the text "sInfo": "Got a total of _TOTAL_ entries to show (_START_ to _END_of _TOTAL_ )" only, but i want to change the counts that display to end user.
For eg: I have totally 1000 records to show by using Server side processing i show first 50 records "showing 1 to 50 of 1000 entries ", again when the user click Next button i do ajax call to reload next 50 records that mean "showing 51 to 100 of 1000 entries " etc. The showing entries value doesn't seem to change at all. it always show 1 to 50 of 50 entries. How can i update these values on every page click with every ajax response?
Thanks,
Vadivel
Allan