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
30
How select multiple cell when grid is in editable mode?
posted

Hi,

I am using ultrawingrid and I need grid cell will be editable at run time so i set its property AllowUpdate = "True". But i think due to this property i m not able to select multiple cell using mouse drag or using Shift + arrow keys  in grid .

What will i do to select multiple cell at runtime even when my grid is in editable mode?

  • 469350
    Suggested Answer
    Offline posted

    That depends what you want.

    If AllowUpdate is true, then when the user clicks on a cell, the cell enters edit mode instead of being selected.

    What do you want to happen when the user clicks a cell? If you want the cell to be selected on the first click, then you should set the CellClickAction property (on the DisplayLayout.Override) to CellSelect.

    If you do that, then clicking a cell will select the cell. But the user will have to press F2 to enter edit mode.

    The other option is to leave it as it is, and the user will need to hold the CTRL key and click on a cell to select it without entering edit mode.