We have a form in which we load data, after this we add the form to a tabpanel using the following piece of code
forms[_form].foundset.sort(_sort, true)
forms[_form].foundset.loadAllRecords()
forms[_my_form].elements[_my_tab].addTab(forms[_form])
Now sometimes the sorting indicator disappears, we cannot exactly determine when but it seems to happen with tables with little columns (less then 10). When we move the sort behind the addTab the sorting indicator is always shown correctly:
forms[_form].foundset.loadAllRecords()
forms[_my_form].elements[_my_tab].addTab(forms[_form])
forms[_form].foundset.sort(_sort)
Anyone an explanation for this behaviour or did anyone also experience this?