Author Topic: Checkbox Columns Issue - Not able to check  (Read 2757 times)

rsordillo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 6
    • View Profile
Checkbox Columns Issue - Not able to check
« 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/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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Checkbox Columns Issue - Not able to check
« Reply #1 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},

rsordillo

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Checkbox Columns Issue - Not able to check
« Reply #2 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