ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: vinay.narasapurapu on September 04, 2020, 11:05:15 pm
-
Hi
I am rendering the checkbox column as below in react, but the checkboxes are getting disabled. I have downloaded the latest version
if (this.props.IsChkboxColReqd) {
columnObj = {
title: "", dataIndx: "", maxWidth: 30, minWidth: 30, align: "center",dataType: "bool",
cb: { header: true, all: false,select:true },
type: 'checkBoxSelection', cls: 'ui-state-default', resizable: false, sortable: false, editable: false
};
colM.push(columnObj);
}
attached the image
-
It's because of editable: false property in the column.
-
I tried removing that property and it is coming as in screenshot which is coming as editable
-
Please add editor: false to the column
Example of checkbox column: https://paramquery.com/pro/demos/checkbox