I am trying to sort a grid with a default sortcolumn and sortdirection = ‘desc’. The grid is inside of a jqxTab. This leads to “Uncaught TypeError: Cannot read property ‘length’ of undefined”.
If I disable the default sort OR comment out the jqxTabs line, it works without error. But for my purposes, I need the grid inside the tab.
I would like to mention one important thing when you create widgets inside the jqxTabs.
In this case, you should use the initTabContent callback for the initialization of the concrete widget.
Please, take a look at this demo.