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
65
DisplayLayout.ClientSideEvents.ClickCellButtonHandler
posted

Hello,

I would like to know if it's possible to make an Handler on a ColumnType.CheckBox

Someting like this :

      Grid.DisplayLayout.ClientSideEvents.ClickCellButtonHandler

But like this :

     Grid.DisplayLayout.ClientSideEvents.ClickCellCheckBoxHandler

Thanks a lot for your help

Parents
No Data
Reply
  • 2426
    posted

    Hello paralleles,

    You can use the AfterCellUpdateEvent to capture when the value is changed. Then you can interrogate the cell index to verify which column is triggering the event:

    function UltraWebGrid1_AfterCellUpdateHandler(gridName, cellId){
        var cell = igtbl_getCellById(cellId);
        if (cell.Index == 0)
        {
            //do work
        }
    }

    Hope that helps.

Children
No Data