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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top