jQuery UI Widgets › Forums › Grid › is Grid trying to collapse expanded row details on reload
Tagged: angular grid, bootstrap grid, initrowdetails, javascript grid, jquery grid, jqwidgets grid, jqxgrid
This topic contains 3 replies, has 2 voices, and was last updated by Hristo 10 years, 4 months ago.
-
Author
-
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.
Hello NickNick,
Please provide sample that demonstrate this issue to make better analyze.
Could you give us more details about what you want to achieve? We could give you some suggestions.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHello NickNick,
If you still have some troubles please provide Your code for better analyze. (better in https://www.jseditor.io/)
Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.