Frage

I am using a datagrid control for loading records. In that datagrid I have enabled the checkbox column using checkbox:true property. How can I disable a particular row's checkboxes in this datagrid?

$('#dg').datagrid({    
    url:'datagrid_data.json',
    columns:[[
        {field:'id',checkbox:true},
        {field:'name',title:'Name',width:100},
        {field:'price',title:'Price',width:100,align:'right'}
    ]]
});

Is there any datagrid property to disable checkbox?

War es hilfreich?

Lösung

You can customize the check boxes in easyui datagrid in this way

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top