Home Forums WinForms controls Xceed Grid for WinForms creating toggle effect Reply To: creating toggle effect

Xceed Support
Post count: 5658

There is 2 parameters you need to take into consideration.

-Is the GridControl in SingleClickEdit mode? If not, the user you need to click once to select the cell and click a second time to change the value.

-How do you handle the Editor of the cell? An interesting thing would be subscribe to the value changed event on the Editor of the cell (through the ActivatingControl event on the CellEditorManager). After, when the value of the Cell Editor is changed, you call a EndEdit() on the cell to commit immediately the value after the user’s click.

Imported from legacy forums. Posted by CharlesB (had 923 views)