I would like to have a grid displayed which allows following:
1. Row headers are displayed.
2. Columns can be selected and dragged.
3. Multi rows can be selected.
4. Rows can be selected by clicking on any cell in the row.
So far I can only achive first three items at the same time applying following settings:
DataGrid.AllowDragSelectedCols = true;
DataGrid.ListBoxSelectionMode = SelectionMode.None;
DataGrid.Properties.RowHeaders = true;
With these setting in place I can only select the row by clicking on the row header. This is confusing to my customers.
Can I define the grid which has a selectable and dragable columns and in the same time allows me to select the rows by clicking on any cell.
If not is this being addressed.
ADAdministrator Syncfusion Team November 24, 2004 11:00 AM
Take a look at this sample. \Grid\Samples\Quick Start\HighlightCurrentRow
It shows an alternative to using ListBoxSelectionMode to allowing a row to be selected clicking on any cell.
A differernt solution is to keep the ListBoxSelectionMode setting, but to explicitly select the column when the user clicks it. This would then allow the user to drag the selected column. Here is a link to a forum thread discussing this option. http://22.214.171.124/Support/Forums/message.aspx?MessageID=16321