Hi all,
In case I have a dataset (get from Database and already group) so if I bind it to the Grid, Does the grid group? and How I do that? and How do I catch an event "Drag a column header here to group by that column" (sorry because I don't exactly the name of that event) to add my custom code?
(In my case, I don't want to use the default grouping of the grid because it may be slow with a huge data)
Of course I still want to use a appearance of Grid.
Thanks
Dan
Hello,
The WinGrid would need to have Outlook GroupBy mode enabled and the Column of the Band to GroupBy needs to be added to the SortedColumns Collection, which could be implemented in the InitializeLayout event for the grid.
The following link to the Infragistics Online Documenation contains information on this functionality:
<http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.1/CLR2.0/html/WinGrid_Enable_GroupBy_Mode.html>
Please let me know if this information is helpful.
Sincerely,Mike D.Developer Support EngineerInfragistics, Inc.