Hi,
Im not sure if this is the ideal use of the grid/ It may not be possible but i am trying to achieve the following scenario:
One grid on the screen with a selector for 9 different data sources as the user clicks the datasource the new set gets bound to the grid (needdatasource rebind()). the grid is defined in code and i call the new definition as the new data source is clicked this works fine until you go to page or group the data at which point it keeps the column headings but doesnt know what datafiled to user so just puts the object name in the field.
I tried calling my method to define the grid each time the needdatasource is called this worked for paging but not for grouping should this work?
Im not sure if this is the ideal use of the grid/ It may not be possible but i am trying to achieve the following scenario:
One grid on the screen with a selector for 9 different data sources as the user clicks the datasource the new set gets bound to the grid (needdatasource rebind()). the grid is defined in code and i call the new definition as the new data source is clicked this works fine until you go to page or group the data at which point it keeps the column headings but doesnt know what datafiled to user so just puts the object name in the field.
I tried calling my method to define the grid each time the needdatasource is called this worked for paging but not for grouping should this work?