jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Checkbox Column
This topic contains 4 replies, has 2 voices, and was last updated by mohammad 8 years, 9 months ago.
Viewing 5 posts - 1 through 5 (of 5 total)
-
AuthorCheckbox Column Posts
-
hi
I’m not able to edit checkbox column, Please look in to this matter.
I just want to edit only checkbox column the rest columns should be non editable columns
Thanks in advance…var source = { datatype: "json", datafields: [ {name: 'Sel',type: 'bool'}, {name: 'Code',type: 'string'}, {name: 'CoName',type: 'string'} ], id: 'CId', url: '\GetComp', async: true }; var dataAdapter = new $.jqx.dataAdapter(source); $("#jqxgrid").jqxGrid({theme:'light', width: 780, height: 277, source: dataAdapter, columns: [ { text: 'Sel', columntype: 'checkbox', datafield: 'Sel', width: 90}, {text: 'Code',datafield: 'Code',width: 50}, {text: 'Company Name',datafield: 'CoName',width: 630} ] }); });
Hi mohammad,
You should use
editable: false
in each column.Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/hi,
After adding editable:false also i’m not able to Check/Uncheck column “Consolidate”
var source = { datatype: "json", datafields: [ {name: 'Sel',type: 'bool'}, {name: 'Code',type: 'string'}, {name: 'CoName',type: 'string'} ], id: 'CId', url: '\GetComp', async: true }; var dataAdapter = new $.jqx.dataAdapter(source); $("#jqxgrid").jqxGrid({theme:'light', width: 780, height: 290, source: dataAdapter, columns: [ {text: 'Consolidate',editable: true, columntype: 'checkbox', datafield: 'Sel', width: 90}, {text: 'Code',editable: false,datafield: 'Code',width: 50}, {text: 'Company Name',editable: false,datafield: 'CoName',width: 600} ] });
Hi mohammad,
Do you have
editable: true
in the grid props?Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/hi,
No i don’t have editable: true in grid props
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.