- Code: Select all
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:
- Code: Select all
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?