Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
João Heleno
MVP
3
Views
3
Comments
Trouble with List_SortColumn
Question
I'm facing a strange behaviour with the List_SortColumn widgets.
When I try to sort by 'Order' attribute, the value that is passed to the query has nothing to do with it... in this case what is passing is the 'IsActive' atribute from the last column.
The same happens with the attributes from columns 2 and 3... the attribute that goes into the query is the one from the last colum (a boolean flag 'IsActive').
The screen was "IntelliWarped".
Any thoughts on this?
Pedro Cardoso
Hi João.
Have you tried to create a new page with the same method. I find it strange that it happened...
Can you try it?
J.
MVP
Hi,
I don't understand it all what the problem exactly is.
What has Var1 got to do what is being passed into the query ?
How do you pass the orderby in the query?
João Heleno
MVP
@Statler
The problem is that I have 4 columns (integer, text, text, boolean) and when I click the sort widget it always sorts by the boolean value, and not by integer or text.
The var1 was just to see what was being passed to the query.
As to how the orderby is being passed, well... it's the usual way. An input that receives the result of
List_SortColumn_GetOrderBy(SurveyQuestionTable.Id, "{SurveyQuestion}.[Order]").
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...