Having two datatables controlled by a tabview/tabbar, i'm seeing unusual behaviour with the
this.getHeaderContent() call. Each of the datatables has a masterCheckbox column, and I'm calling
this.getHeaderContent() from the
ready: function of each of the datatables to set the initial state. Oddly, while the table that is visible works as expected, the one that is not visible (due to the tabview) returns
undefined so the operation fails. If the
ready: function calls
this.show() before calling
this.getHeaderContent() then it works fine -- although the UI moves around unpleasantly as it flicks back and forth.
Is this normal / expected behaviour? Should I be handling things differently?
This is 7.1 pro btw.
Thanks for any pointers