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
485
How to implement extended full row selection?
posted

Is it possible to implement 'extended row selection' in the same manner as is implemented by File Explorer and the standard Windows listbox control? If so, is it possible to achieve an 'extended full row selection' that would handle the following use cases:

  1. Select a row
    1. Click on a cell in row 3
    2. Entire row is selected. (this works)
  2. Select a range of rows
    1. Click on a cell in row 3 column 2
      1. Entire row is selected
    2. Hold down shift key and click on a cell in row 5 column 2
      1. Actual
        1. All of row 5 is selected. Column 2 on rows 3 and 4 is highlighted.
      2. Desired
        1. Wanted all of rows 3 through 5 selected.
  3. Toggle whole row selection state
    1. While control key is depressed, click on an unselected row
      1. Actual
        1. Clicked on row becomes selected.
        2. Previous selected row is unselected.
        3. Previous clicked on cell remains highlighted
      2. Desired
        1. Clicked on row becomes selected
        2. Previous selection state of all other rows remains unchanged
    2. While control key is depressed, click on a selected row
      1. Actual
        1. Clicked on row remains selected.
      2. Desired
        1. Clicked on row becomes unselected selected
        2. Previous selection state of all other rows remains unchanged