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
4695
trigger checkbox event in the ultragrid
posted

Dear all,

I have the checkbox in the row in the ultragrid. If checkbox is checked or unchecked, I will modify the current row data, How to do ?? Any sample code?? In what ultragrid event . e.g.

if(Row[i].Cells[0] == true)

{

Row[i].Cells[9].Value=......

}

else

{

}

Parents
  • 469350
    Offline posted

    Hi,

    If you want your update to occur immediately when the user clicks on the checkbox, then you should use the CellChange event of the grid.

    Note that you cannot use the Value of the cell inside this event - you must use the Text property of the cell, because Value does not get updated until the user leaves the cell and the change is committed.

Reply Children