Hi Jqwidgets team,
About my Grid implementation:
1. AJAX load.
2. Apply filter by column by event on page (from another element).
3. Grid has row details like in example http://jsfiddle.net/jqwidgets/pyGV6/. My initrowdetails function:
element = $(parentElement);
element.append(somecontent);
return element.jqxExpander();
Problem:
If I expand row in grid and after that filter event is came, i got exception:
Uncaught Error: jqxGrid: The data is still loading. When the data binding is completed, the Grid raises the 'bindingcomplete' event. Call this function in the 'bindingcomplete' event handler.
and stack is:
b.extend.hiderowdetails jqxgrid.js:7
b.extend._postrenderjqxgrid.filter.js:7
a.extend.applyfiltersjqxcore.js:7
a.jqx.invokejqxcore.js:7
a.jqx.jqxWidgetProxyjqxcore.js:7 (anonymous function)jquery-2.2.1.min.js:2
n.extend.eachjquery-2.2.1.min.js:2
n.fn.n.eachjqxcore.js:7
a.fn.(anonymous function)
It seems, after filter apply, grid trying ‘hiderowdetails’ and falls because data is loading. How to hiderowdetails before applying filter?
In example:
$('#jqxgrid').jqxGrid('hiderowdetails', 1);
But I don’t know expanded row indexes.