AD
Administrator
Syncfusion Team
May 25, 2005 11:43 AM UTC
GridControl is a cell oriented grid that allows you to set styles on a cell by cell, row by row, column by column basis. It also support Excel-Like formulas. You can also use it in a virtual mode that allows it to hold no data, dynamically getting its data through events that you handle to provide the data.
GridDataBoundGrid is a column oriented grid that needs to have a datasource set. It is the closest control to a Windows Forms DataGrid. It can display hierarchical data. But it cannot be grouped.
GridGroupingControl allows you to group a Datasource. It allows for summaries (both built-in and custom), expression columns, conditional formatting, and true nested tables.
-----
If you want to group and sort an arraylist datasource, then you should use a GridGroupingControl as that will require minimal coding on your part. Here is a sample. http://www.syncfusion.com/Support/user/uploads/GGC_ArrayList_18a9d11a.zip
If you want to actually add new items to the arraylist through the GridGroupingControl, then you should also have your arraylist implement IBindingList to support the addnew functionality directly from the grid.