문제

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