Sorting indicator disappears when form is added to tabpanel

Questions and answers for designing and implementing forms in Servoy

Sorting indicator disappears when form is added to tabpanel

Postby m.vanklink » Tue Jun 17, 2014 10:04 am

We have a form in which we load data, after this we add the form to a tabpanel using the following piece of code

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?
Michel van Klink
Vision Development
m.vanklink
 
Posts: 70
Joined: Thu Feb 23, 2012 9:15 am
Location: The Netherlands

Re: Sorting indicator disappears when form is added to tabpa

Postby Harjo » Tue Jun 17, 2014 10:34 am

is this smart or web?
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Sorting indicator disappears when form is added to tabpa

Postby m.vanklink » Tue Jun 17, 2014 10:48 am

This is smart client. Servoy 5.2.17 and Servoy 7.4.1.
Michel van Klink
Vision Development
m.vanklink
 
Posts: 70
Joined: Thu Feb 23, 2012 9:15 am
Location: The Netherlands

Re: Sorting indicator disappears when form is added to tabpa

Postby Harjo » Tue Jun 17, 2014 3:52 pm

I have a similar setup somewhere, but I could not reproduce it.

Maybe you can narrow it down to a smaller reproducable solution, and file a case at: http://www.servoy.com/s
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands


Return to Forms

Who is online

Users browsing this forum: No registered users and 9 guests

cron