Initially my datagrid is hidden from view in another jqxwidget tab.
Even with data which has been set for that datagrid, initially certain methods fail to work on such datagrid.
For e.g.:
$(“#jqxGrid”).jqxGrid(‘setcellvalue’, 0, “col1”, value);
$(“#jqxGrid”).jqxGrid(‘autoresizecolumns’, ‘all’);
They work only after I have clicked on the tab to show the datagrid.
Afterward, even if switch back to another tab to hide the datagrid tab, the above methods work.
Only initially before the datagrid tab is clicked for the first time.
How can one deal with this? Currently was delaying some of the method calls to until initially the datagrid tab is clicked.
Is there a way to make them work even while the datagrid is initially hidden?