My requirement is to dynamically add a jqxGrid in a new and closeable tab.
Since upon using ‘showAllCloseButtons’ and ‘showCloseButtonAt’ functions, the respective tab’s div element gets removed from the tree and is not available further until page refresh. Also, all the new tab addition functions like ‘addLast’ etc, accept only HTML as its content.
Isn’t ‘initTabContent’ used for initializing tabs?
I have no issues in initialization of my tabs, rather in my case on clicking of a button in one tab, I need to dynamically create a new tab with a jqxGrid.
Callback function that the tab calls when a content panel needs to be initialized.
This means it can (and should) be used to initialize other widgets in the tab content section (hence the name of the function). Please check out the demo Integration with other widgets, where a grid and a chart are initialized in jqxTabs through initTabContent.