You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'DATA-ORDER' on column wont retain On destroy & re init . Any idea?
This issue happens when you initialize your grid & you want to destroy it & re initialize it.
$("#grid-basic").bootgrid();
$("#grid-basic").bootgrid('destroy');
$("#grid-basic").bootgrid();
What is the use case behind destroying and re-initializing the component? Are you might be looking for something like reload? Because destroy resets the plugin completely to its origin state.
'destroy' does reset the plugin to the original state but it wont consider 'data-order' which I mentioned int html tag while initializing the plugin.
Ex:
'th data-column-id="id" data-identifier="true" data-type="id" data-order='asc'
Ahh okay! The examples does not work for me - maybe because of same-origin policy. Anyway I fixed the issue you described last version (1.1.3). Please confirm and close the issue if true.
Hi,
'DATA-ORDER' on column wont retain On destroy & re init . Any idea?
This issue happens when you initialize your grid & you want to destroy it & re initialize it.
$("#grid-basic").bootgrid();
$("#grid-basic").bootgrid('destroy');
$("#grid-basic").bootgrid();
jsfiddle link -> http://jsfiddle.net/bne877up/
The text was updated successfully, but these errors were encountered: