Dear all,
I have made the ultragrid and two buttons for browsing previous page and next page of ultragrid.
Actually how to implement this if the row in the ultragrid may extend more than one row if one of the column field such as description may span to more than one row? It means I cannot count the number of records for page browsing. What should I do?
Please provide any sample code.
Hristo,
This is absolutely perfect and exactly what I have been looking for. I have a DB that is now up to about 400k+ rows and the time it takes to load the data is getting ridiculous. Once it loads, the grid handles it well, but I would like to implement paging. Is there any way I could get the source code to the UltraGridPaging.dll? I have a slightly different version of 12.1 and unable to use this one, plus I would like to ensure I can upgrade it for later releases of the Telerik tools.
Thanks you sooooooo much! You rock!
~Joe
Hello,
I am just checking about the progress of this issue. Let me know If you need any further assistance on this issue?
Thank you for using Infragistics Components.
Hello ,
As you could see my sample calculates and makes paging, based on the Rows-Per-Page so if you have set autosize to autofree and enable multiple line per row, sample will display again same count of rows per page, but total height of the rows will be different for each page and on some page you could have a scrollbar. If you want to have a pages with different rows count, but with same total rows height, you need to know in advance the height of the each row in order to calculate total pages and rows per each page. So this will be a lot of complicated calculations which you should do.
Please let me know if you have any further questions.
This is great and give me great hints.
But if the ultragrid row autosize is autofree and enable multiple line per row.
Could this be achieved?
Currently UltraGrid doesn’t support paging. What you could do is to create a class wrapper of your data source, which will manage your data source and will make paging, retrieves a object with rows collection for specific page, which will be bound to UltraGrid. I have implemented my idea in a small sample in order to demonstrate you how your goal could be achieved. Sample uses single DataTable for data source for UltraGrid.
I hope that this will helps you.