This is a migrated thread and some comments may be shown as answers.

Grid definition programatically

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul Lewis
Top achievements
Rank 1
Paul Lewis asked on 13 Jun 2010, 05:35 PM
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?

1 Answer, 1 is accepted

Sort by
0
Paul Lewis
Top achievements
Rank 1
answered on 15 Jun 2010, 09:50 AM
I fixed this by deleting the code out the page and pasting it back in just one of those odd things I think
Tags
Grid
Asked by
Paul Lewis
Top achievements
Rank 1
Answers by
Paul Lewis
Top achievements
Rank 1
Share this question
or