Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top