D
Daniel Walzenbach
Hi,
I have a question regarding the DataGrid control. If paging is enabled the
grid binds the data, sets the paging on the top/bottom (or however it is set
up) and throws away unnecessary data. So far so good for a tiny amount of
data but if some 100000 of rows are the source this approach is stupid.
I therefore want to supply the grid with only the data it needs but then are
faced with the following problem. How can the grid be set up that the paging
UI (1.4 5 6.10) is displayed correctly? If the source e.g. is 1000 rows and
paging 20 rows the user would expect the paging UI to display 1 - 50. Since
the grid only is bound to 20 rows now paging UI will be available.
Does anybody know how to overcome this limitation? I thought about creating
my own version of the DataGrid control but don't know how to start? How can
I figure out how the DataGrid works to get an idea of what is to change?
Thank you a lot in advance!
Daniel
I have a question regarding the DataGrid control. If paging is enabled the
grid binds the data, sets the paging on the top/bottom (or however it is set
up) and throws away unnecessary data. So far so good for a tiny amount of
data but if some 100000 of rows are the source this approach is stupid.
I therefore want to supply the grid with only the data it needs but then are
faced with the following problem. How can the grid be set up that the paging
UI (1.4 5 6.10) is displayed correctly? If the source e.g. is 1000 rows and
paging 20 rows the user would expect the paging UI to display 1 - 50. Since
the grid only is bound to 20 rows now paging UI will be available.
Does anybody know how to overcome this limitation? I thought about creating
my own version of the DataGrid control but don't know how to start? How can
I figure out how the DataGrid works to get an idea of what is to change?
Thank you a lot in advance!
Daniel