Jump to content

Paging vs Grid Control


carlg

Recommended Posts

I'm creating a web based application where the user will open a page and there could be anywhere from 5 up to thousands of records on the page.  They will then click on a link to edit the record.    There are about 5-7 fields to show for each record. Pretty simple stuff, not complicated.

 

So what do you think is a better way to implement this?  Using basic paging methods (calculating number of rows and doing the math) and spitting out a table or plain html or do you think it is better to use a grid such as jqgrid where the paging is built in already for me?

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/265927-paging-vs-grid-control/
Share on other sites

It really depends. If the thousands of records means transferring several hundreds or thousands of kilobytes in a single request, it's worth it to break it up.

 

Keep in mind, transferring it in one huge chunk could be very noticeable for slower connections.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.