How can we bind IList<class> to WinGrid. Properties of <class> should be columns in a grid and number of elements in "List" will become rows. Also, colums need to be rearranged.
I don't really understand what you are describing. The grid has a couple of ways to do grouping. It sounds like you might be looking for the OutlookGroupBy feature where you can group rows together based on a common value in a cell.
To do this, you would start by setting the ViewStyleBand to OutlookGroupBy. Then you could drag the column you want into the groupby box, or group it programmatically using the band.SortedColumns.Add method.
Thanks... I am now stuck in column/row arrangement.
There are 5 columns in a table. one of the column contains a value on which other columns will group. This grouping value should appear only once and summation of few other columns should appear on the same row as the grouping value. Could you please help in this as well
The same way you bind the grid to any other object. Set the grid's DataSource or calling the SetDataBinding method.