Hi -
I want to use the GridViewSelectColumn as the ONLY method of row selection. Desired behavior: if a user clicks on a row, nothing will happen. But if they click on the checkbox in the GridViewSelectColumn, the row will be selected. In addition, the header checkbox in the GridViewSelectColumn must continue to select/de-select all rows. How can I best achive this?
I have tried setting the CanUserSelect=false on a grid containing a GridViewSelectColumn. This works fine for individual rows (only allowing row selection via the GridViewSelectColumn), however, if I click the GridViewSelectColumn Header checkbox, nothing happens (no rows are selected/de-selected).
I have also gone about handling the DataGridCell_PreviewMouseLeftButtonDown and DataGrid_PreviewMouseLeftButtonDown events, which allows the GridViewSelectColumn Header checkbox to work correctly, but it's definitely a hack, and not something I can easily implement across the many RadGridViews in my application.
Any help is appreciated.
I want to use the GridViewSelectColumn as the ONLY method of row selection. Desired behavior: if a user clicks on a row, nothing will happen. But if they click on the checkbox in the GridViewSelectColumn, the row will be selected. In addition, the header checkbox in the GridViewSelectColumn must continue to select/de-select all rows. How can I best achive this?
I have tried setting the CanUserSelect=false on a grid containing a GridViewSelectColumn. This works fine for individual rows (only allowing row selection via the GridViewSelectColumn), however, if I click the GridViewSelectColumn Header checkbox, nothing happens (no rows are selected/de-selected).
I have also gone about handling the DataGridCell_PreviewMouseLeftButtonDown and DataGrid_PreviewMouseLeftButtonDown events, which allows the GridViewSelectColumn Header checkbox to work correctly, but it's definitely a hack, and not something I can easily implement across the many RadGridViews in my application.
Any help is appreciated.