jeudi 20 septembre 2018

how to set checkbox checked in JSGRID?

I tried the code below but it does not work. Could someone please help me?

  { 
name: "MyField", 
type:"checkbox", 
insertTemplate: function() {
    var $result = jsGrid.fields.checkbox.prototype.insertTemplate.call(this);
    $result.prop("checked", true);
    return $result;
} 
}




Aucun commentaire:

Enregistrer un commentaire