ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: NRI Fintech on October 17, 2016, 02:19:38 pm
-
The check and uncheck event handlers are not working after upgrade to version 3.3.2
Here is the options.
colModel.push({ title: "", dataIndx: "abcd", width: 'flex', align: "center", resizable: false,
type: 'checkBoxSelection', cls: 'ui-state-default', sortable: false, editable: true,
cb: { all: false, header: false, select: true, all: true }
})
;
-
Sorry, wrong version mentioned. Not working after upgrade to 3.3.2
-
It's type: 'checkbox'
and this type of column can't be added or removed dynamically.
http://paramquery.com/pro/api#option-column-type
-
We have used type="checkbox" but still it does not work.
Maybe, we were not clear.
We are not trying to dynamically change the checkbox. We have simply used the following event handlers which are not getting triggered.
objGrid.check = function(evt, ui) { ..... }
objGrid.unCheck = function(evt, ui) { ...... }
In fact none of the event handlers are getting triggered.
What can be the problem ? We guess we are doing something wrong.
-
By dynamic manipulation, it means type: 'checkbox' column can't be added / removed from colModel after initialization of grid.
In fact none of the event handlers are getting triggered
DOM events are disabled by default for the grid which can be re-enabled by setting trigger option to true. But inline events and instance listeners should work without that option.
http://paramquery.com/pro/tutorial#topic-events
Could you please share a small test case though jsfiddle or through attachment so that I can have a look at it.
-
Added a simple test case using the older version where 'check' and 'uncheck' are working.
Upgrade to 3.3.x and this will not work.
-
Thanks for sharing sample code. Corrected sample working with v3.3.x: http://jsfiddle.net/6zzdhmsg/
Please read through the upgrade guide http://paramquery.com/pro/upgrade/Index32 and check the example http://paramquery.com/pro/demos/checkbox
column should be editable, editor should be false and dataType should be mentioned.
editor: false, dataType: 'bool'
-
According to http://paramquery.com/pro/upgrade/Index32 page checkbox columns are not compatible with IE <= 8. Can you explain what features of Param Query check box does not work on IE <= 8 ??
-
If an unchecked checkbox is clicked in checkbox column in IE <= 8, it remains unchecked and vice versa.