Sorting of table view - normal vs solutionmodel

Questions and answers for designing and implementing forms in Servoy

Sorting of table view - normal vs solutionmodel

Postby pilgrim » Tue Feb 21, 2012 11:25 am

Normally when you sort a table view
ascending = a, b, c, d, empty, empty, etc.
descending = empty, empty, d, c, b, a

A table view I created with solution model sorts differently:
ascending = empty, empty, a, b, c, d
descending = empty, empty, d, c, b, a
(empty fields always on top).
Irene Bom
www.stb.nl
User avatar
pilgrim
 
Posts: 34
Joined: Wed Jun 13, 2007 9:50 am

Re: Sorting of table view - normal vs solutionmodel

Postby jcompagner » Tue Mar 20, 2012 10:21 am

that i would find very weird, there is no difference between a solution model created form or a design time created form
And there is no relation to the sort at all, because the sort is done by sql. What is the sql that is send by those 2 commands? Are you building those 2 forms on the exact same table/data?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Forms

Who is online

Users browsing this forum: No registered users and 4 guests