I'm building grid columns from a definition held in a database.
@foreach (GridColumnSetting item in gridColumnSettings)
{
<GridColumn Field="@item.ColumnName" TextAlign="TextAlign.Center" HeaderText="@item.ColumnHeaderString" Width="120"></GridColumn>
}
I have a lot of columns that are initially hidden and allow the user to make these visible through the ColumnChooser dialog. Due to the number of columns I only retrieve the data for the visible columns. When the user makes a column visible with the ColumnChooser I need to retrieve the data for the now visible columns and rebind.
My problem is that there doesn't seem to be an event for when the ColumnChooser closes that I can use to rebind. The OnActionComplete event does fire but with a RequestType of ColumnState so I can't distinguish if the event occurred due to the ColumnChooser closing or some other cause.
Mike