• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pagination within grouped data

#9
[eluser]Hoopoe[/eluser]
[quote author="Aziz Chouhan" date="1310910947"] you can show top 5 or 10 records at a time , and show the more... link at the footer of the tab.

but in case if you want to crate the pagination for showing data , i think that you need
Quote:ajax and jquery pagination
for completing your requirement.when one click on pagination link the next data will fetch direct from server without refreshing the complete page.and you get next category data.

if you have any problem ,reply i will show you the complete solution
enjoy[/quote]

Aziz - there's no Ajax in my setup, only Jquery tabbing. I am using nested tabs. The categories are li elements corresponding to div elements. Each div element has another <ul> composed of the category members, with corresponding divs containing the data or details.So the structure is-
<ul>
<div>
--<ul>
--<div>

Basically, this is now set up WITHOUT pagination. I'd like to introduce pagination.

I can generate the pagination links corresponding to each category. And I can get the so-called base_url to display the appropriate combination of category id and offset.

And I have got functioning code to correctly process the category id and offset relayed in the end segments of the base_url . I still need some jquery (probably) to preventing clicking on pagination links displaying the default tab data.

Presumably that jquery solution would use the category id data passed in the base_url to designate which tab is assigned the class 'selected'

It would be interesting to see your Ajax/Jquery pagination solution.

regards,

Hoopoe


Messages In This Thread
pagination within grouped data - by El Forum - 06-17-2011, 11:22 AM
pagination within grouped data - by El Forum - 06-17-2011, 06:08 PM
pagination within grouped data - by El Forum - 06-18-2011, 10:33 AM
pagination within grouped data - by El Forum - 06-18-2011, 03:50 PM
pagination within grouped data - by El Forum - 06-20-2011, 12:18 AM
pagination within grouped data - by El Forum - 07-16-2011, 12:28 PM
pagination within grouped data - by El Forum - 07-16-2011, 06:23 PM
pagination within grouped data - by El Forum - 07-17-2011, 02:55 AM
pagination within grouped data - by El Forum - 07-18-2011, 02:08 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.