Hello All,
I am using Grid for .net extensively and relying too much on it.
But at present I am having an issue with lots of events available on Grid, ColumnTemplateMangerRow and GroupHeaderRow and RowSelectorPane.
What I have is a Grid loaded with
GroupByRow,
ColumnTemplateManager, (Columns are loaded from An XML File not on design time, just to make it dynamic with any data)
FilterRow (Best is XCEED Grid Extensibility Example, fully customised for my use) (which will be added with CellNavigation to True)
SpaceRow,
DataRowTemplate to load Data later, (which will be read only grid with multiextended Selection allowed)
I have loaded a style initially with column sizes defined, FixedColumnSplitter Assigned, grouped, with multiplesorts on multiple columns.
Now, After I load these Settings, I need to trackdown if any of the following happens at anytime and need to prompt user saying that your current layout has changed, so you may would like to save your current layout for later use.
I need to track down following:
SOrtChanged,
SortcolumnChanged,
CurrentColumnLocationChanged,
GroupingUpdated,
FixColumnSplitter Value Changed
ColumnWidthChanged.
because my grid is very busy with all filters, groupings and 30x8000 Data, I need something very very efficient to tell me that layout of the grid has changed and may be its time for me to prompt the user for the changes.
Is there anything in Grid Available which would tell me if any of the above has changed, I can track them individually but it is not desirable and not managable,
Reason being if I click on columnheader it may fire Sortingchanged and sort columnchanged and etc.... subsequently,so all I need is just one which would tell me everything
Urgent help and response to it is much appreciated.
NR
NR