ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: vinay.narasapurapu on September 04, 2020, 11:05:15 pm

Title: CheckboxSelection is disabled
Post 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
Title: Re: CheckboxSelection is disabled
Post by: paramvir on September 04, 2020, 11:13:56 pm
It's because of editable: false property in the column.
Title: Re: CheckboxSelection is disabled
Post by: vinay.narasapurapu on September 04, 2020, 11:19:55 pm
I tried removing that property and it is coming as in screenshot which is coming as editable
Title: Re: CheckboxSelection is disabled
Post by: paramvir on September 04, 2020, 11:23:48 pm
Please add editor: false to the column

Example of checkbox column: https://paramquery.com/pro/demos/checkbox