carlg Posted July 19, 2012 Share Posted July 19, 2012 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? Quote Link to comment https://forums.phpfreaks.com/topic/265927-paging-vs-grid-control/ Share on other sites More sharing options...
xyph Posted July 19, 2012 Share Posted July 19, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/265927-paging-vs-grid-control/#findComment-1362623 Share on other sites More sharing options...
carlg Posted July 19, 2012 Author Share Posted July 19, 2012 Think I'm going with paging for the above reason and the overhead associated with learning and installing jqgrid. Quote Link to comment https://forums.phpfreaks.com/topic/265927-paging-vs-grid-control/#findComment-1362631 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.