G
Guest
Hi,
I have dynamically created a datagrid by:
1. created a number of columns from reading a column difinition so I can
dynamically create the columns I want to display.
2. bind to a datasource which has data more than the above columns
It populates the dg properly, but the OnPageIndexedChange will not fire as
long as I make dg's AutoGenerateColumns to false. I have to do it otherwise
it will ignore my dynamically created limited number of columns I want to
display. If I set to true it will display the columns I want but paging
won't work.
I have a test code if you need see it to help me out. Thanks!
I have dynamically created a datagrid by:
1. created a number of columns from reading a column difinition so I can
dynamically create the columns I want to display.
2. bind to a datasource which has data more than the above columns
It populates the dg properly, but the OnPageIndexedChange will not fire as
long as I make dg's AutoGenerateColumns to false. I have to do it otherwise
it will ignore my dynamically created limited number of columns I want to
display. If I set to true it will display the columns I want but paging
won't work.
I have a test code if you need see it to help me out. Thanks!