Hi all,
I'm new at OS and create application using both external DB (MySQL) and internal DB. I have problem when sort each column using SQL query it's not work.
I have to use SQL query instead of Aggregate to get data from both external DB and internal DB because of OS does not support join these DB together, the default sort of Table record is not working when I use SQL query
Here is my action, the Department, EmployeeDepartment tables are external DB, and the Employee is internal DB. I just reproduce the issue in my personal environment.
I attached my oml below, please help me take a look on this.
Thank you.
Hi Bella
Please Check This Below Linkhttps://success.outsystems.com/documentation/how_to_guides/development/how_to_enable_dynamic_sorting_in_a_table_fed_by_a_sql_query/
https://www.outsystems.com/forums/discussion/83660/pagination-and-sorting-using-advanced-sql-in-reactive/#
https://www.outsystems.com/forums/discussion/59321/sort-sql-query-in-reactive-web/#Post248415
Hope this might help
Regards,
Asad
Hi Bella Nguyen,
Just take a look through your oml. I notice that you haven't defined the action for OnSort Event. Check this link for detail:How to enable dynamic sorting in a table fed by a SQL query - OutSystems How to Guide
Cheers, Nam