I have a function that returns the output of execution of SQL Query and the output is List of Columns and List of Rows, and Count


So is there a way to create a dynamic table with the retrieved list of columns and rows, and update that based on the new output of different query? 

I guess you can use the datagrid component with the AutoGenerateColumns property = True

https://www.outsystems.com/forge/component-overview/5554/data-grid

Hi Mohamed!

Here's another approach you may use for dynamic table columns:
https://www.outsystems.com/forums/discussion/5965/table-records-with-dynamic-columns/

Best regards,
Joseph Enriquez