Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
990
Multi record selection on shift key press.
posted

Hi All,

I am fighting with XAmDataGRid to implement the record selections with pressed shift key. User should be able to select records when he PRess Shift key and click on another row. Could u please help me ASAP.

Note :- I need CellClickAction = SelectCell, and I dont want to use the left most record selector arrow.

Thanks

Parents
  • 34510
    Offline posted

    Hi anant_9sept,

    The XamDataGrid only allows selection of cells or records but not at the same time.  If you set the CellClickAction to SelectCell, every time you click on a cell it is going to clear the selected records and since the selection mode is set on the cell rather than the row, holding down the Shift key while clicking on cells will select all of those cells.  It won't select the row itself.  In order to select records the CellClickAction needs to be SelectRecord so that rows may be selectable.  You can then press the Shift key or the Ctrl key to select multiple records.

Reply Children
No Data