Hello
We are using infragistic web grid with version Version=6.3.20063.1079, with automatic paging.
As need in application we have controls like web calender and checkbox used in grid. So for data rows more than 500 when try to change page gets lot of operations re bind the grid. And hence result is slow the web application.
We want to ask, is there any custom paging machanisum present for web grid to improve the performance with our current version.
Thank you in advance.
Hello,
We have a "Custom Paging" example available online that might be able to help you out,
http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htm
the select Grid -> Navigation & Selecting -> Paging - Custom - there is full source code there. In general, you can always switch paging off and create your own navigation, it will just require additional code depending on the setup.
Thank you for quick replay,
i was gone through the example, and tiring to add it in application
One more question with this, if data rows are fetched more that the page size of web-grid,
When we bind the data at that time the huge data takes large time to load the page.
Example
Suppose fetch data of 30 columns and 10000 rows, and bind to web grid, with grid page size is 50.
In this case number of pages are 200, so binding this much data takes exta time load the page rather than load only 50 rows from database.
datatable bind method use to bind data.
thanks
Great to hear one of our samples is a good starting point, hopefully it is close to what you need.
The problem with fetching multiple rows with data, while binding only 50, is something that could probably be solved at the database level. Just make sure you return only the number of rows the grid needs. Or, alternatively, you can cache the data - fetch them only once and then retrieve from cache.
Ya the sample is very useful. We have created the samll module using custom paging and featching that number of rows only which need and it gives better perfromance.
now i have row selecter in grid with row numbering.when we go to page two and fetch next rows (say 51-100 rows) then row selector numbers appers from 1 - 50 by default.we want numbers shold also 51-100 there.we have already tried with the following method,this.UltraWebGrid1.DisplayLayout.AllowRowNumberingDefault ,but not got result as need.Is there any method todisplay custom row number on row selector. (means we can set start index to row selcttor when paging enabled/disabled)
Thanking you.
I am having on the same problem.
I have loadondemand = xml and row numbering = continuous with inital rows set at 50.
first set of rows are numbered 1-50. When i scroll down and the next 50 rows are fetched, they are numbered 1-50 vs 51-100.
any ideas?