Hi everyone
i'm beginner , who trying to learn Outsystems . In Demo Table Sorting , i had some error but i can't fix it . It's normal when i sort ascending but it get error when sort descending
I think it related with "DESC" because when i put it away there is no error .
Please help me . thank you a lot .
Hi Hieu,
As I see your attached image, I think the issue is about adding "DESC".
You need to add a space before like this " DESC".
The reason is that when no space the result of ClickedColumn + "DESC" will produce an incorrect attribute.
For example:
- When you click on Name to sort then ClickedColumn is {Employee}.[Name].
- After adding "DESC" it become {Employee}.[Name]DESC <== this is not correct
- It should be {Employee}.[Name] DESC => that's why need to add a space (" DESC").
Regards,
Khuong
Hi Khuong Truong,
I fixed it. I was careless, thank you so much .
Have a nice day
Hieu
Glad that it helps.
Cheers,
Hi Khuong,
I looking forward to learning more.
Check this https://www.outsystems.com/forums/discussion/20918/bug-report-and-resolution-for-the-given-key-was-not-present-in-the-dictionary/
Also I have attached an OML file for your reference on sorting, you can have a look.
Hi Ajay Anthony,
Thank you very much , I still have a lot to learn .
Thanks for the solution! 😊