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
40
WinGrid Checkboxes ElementClick
posted

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.

Parents
  • 345
    posted

    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

Reply Children