Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » grid and pagination Collapse All
Subject Author Date
Saayan Choudhury Oct 21, 2010 - 5:25 AM

Hi,


I would like to bake in pagination to the grid control. Could you please give some guidance.


The problem is specially when the grid is sorted, or the filters are active.


The application I am working on potentially can have 1000+ rows. Pagination with user selection of how many records he wants to see - would be useful.


Thank you,


Saayan

Saayan Choudhury Oct 21, 2010 - 7:42 PM

Thank you. Much appreciated.

Saayan Choudhury Oct 21, 2010 - 10:11 AM

Thank you for your reply.


This will be a good start. I do not have a DB - the records are read from a serialized file. I shall use the approach that you have mentioned.


 

Technical Support Oct 21, 2010 - 11:56 AM

Yes. Virtually cacheable grids require a recordset data provider component. Here is another sample app dedicated to virtually cacheable grid, but not related to databases:

www.prof-uis.com/download/forums/CacheableGrid2.zip

Technical Support Oct 21, 2010 - 9:49 AM

Please take a look at the AdoRecordsetView sample applications. It demonstrates how to implement a virtually cacheable grid control displaying database records using ADO APIs. We also have an editable version of this sample application:

http://www.prof-uis.com/download/forums/AdoRecordsetEdit.zip

The data provider component is automatically informed when to upload new records to display inside the grid control and when to release records. The grid control supports simple cacheable mode and a special virtual mode for displaying data with unknown row count.