I want to develop the WinGrid like a System.Windows.Forms.ListLiew control with checkboxes. There i can get the information, if the user has checked or selected an item.
In the datasource of my WinGrid i have a field called checked. I used my own CreationFilter object and added an ElementClick event to the CheckBoxUIElement. But there is a problems with the CellClickAction and RowSelect and the event does not raise.
How can i get an event if this checkbox in the selected line was checked (unchecked) or only the line was selected.
For the same thing , I have right the code in cellChage event.
To Check wthr the chkbox is (Checked/UnChecked).
you can write like
e.Cell.Text;
Dont use e.cell.Value
e.cell.Value will be the same as it was binded.
if you want to get some other column value from cellChage event. write it as
e.cell.row.cells["columnOne"].Text
--------------------------------------------
if you got any other better way, please let me knw
Nice idea :-)
But i have to select the full line too and set
...DisplayLayout.Override.CellClickAction = RowSelect
In this mode you will not get any cell events