Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
305
cannot call methods on igGridGroupBy prior to initialization; attempted to call method 'option'
posted

We are encountering an issue when use the below function before iggrid to intialize the itself groupby feature and got an error like "cannot call methods on igGridGroupBy prior to initialization; attempted to call method 'option'"

var groupedColumns = $("#grid").igGridGroupBy("option", "groupedColumns");

Previously we used Infragistics version 13.1.20131.1012, in that, we are not getting any error in this function even though igGrid not to initialize the itself with the igGridGroupBy feature . But now we have upgraded to Infragistics version 14.2.20142.1018. After upgrading to this version we are getting this error.

http://jsfiddle.net/vrrenga/1q3b0pgw/

Not only the above methods. We are encoutnering this issue for the below method also.

$('selector').igGrid('destroy');
$("selector").igTree("checkedNodes")

Any advice on this?