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
215
Checkbox is checked or not.
posted

How to detecting whether Checkbox is checked or not.

checkBoxStateChanging: function(evt, ui){

                  if(Checkbox is checked=true)

                   {

                         //event

}

                 else

{

 //event

}

}

  • 215
    Verified Answer
    posted

    Solucion

    features: [

    {
    name: "RowSelectors",
    enableCheckBoxes: true,
    enableRowNumbering: false,


    checkBoxStateChanged: function (evt, ui) {
    if (ui.state === "off") {
    alert("1")
    }


    else {

    alert("2")

    }

    }