I am using a readonly grid with
ultraGrid1.DisplayLayout.Override.CellClickAction = CellClickAction.RowSelect;
However if the user double clicks a cell I want them to be able to copy the cell. I have been trying to use different functions in the DoubleClickCell event, but cant figure out the right combination. When I try setting the clickaction to cellselect in the doubleclick event it isnt activated until the next cell click.
Hello Tony,
Instead of changing properties of the grid when the cell is double-clicked, you should call UltraGrid.PerformAction() instead. You can pass in UltraGridAction.ToggleCellSel to toggle the selected state of the active cell.
It doesnt seem to work since my grid is set to rowselect.