ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: rsordillo on November 07, 2015, 09:55:47 pm

Title: Checkbox Columns Issue - Not able to check
Post by: rsordillo on November 07, 2015, 09:55:47 pm
Greetings,

Just got the licensed version up and going. I had previously posted in the ParamQuery Pro Evaluation category as user "tailchaser".

I am running into a frustrating problem with checkboxes where they do not "check" when clicked. I have tried type:checkbox and type:checkBoxSelect using colModel definitions straight out of the demos. I created two jsFiddles that reproduce this issue:

http://jsfiddle.net/6gxjb0hv/4/ (http://jsfiddle.net/6gxjb0hv/4/)

http://jsfiddle.net/6gxjb0hv/5/ (http://jsfiddle.net/6gxjb0hv/5/)

I have tinkered with this quite alot and cannot seem to get it to work. I am using Chrome for the jsFiddles.

Regards,
Steve
Title: Re: Checkbox Columns Issue - Not able to check
Post by: paramvir on November 07, 2015, 10:37:47 pm
It's because of editable: false in columnTemplate.

Code: [Select]
columnTemplate: {maxWidth:300, editable:false, resizable:true},
Title: Re: Checkbox Columns Issue - Not able to check
Post by: rsordillo on November 08, 2015, 12:34:39 am
Thank you very much! :-)

For our purposes, I retained the global "editable:false" in columnTemplate, but added "editable:true" in the colModel definition for the checkboxes. Here is the updated working jsFiddles for others' future reference:

http://jsfiddle.net/6gxjb0hv/6/

http://jsfiddle.net/6gxjb0hv/7/


Regards,
Steve