Hi,
I wish to create a screen where the user will be able to use a kind of an SQL Query editor. So, there is a “Source Code Editor” control where the sql statement is defined and an “Execute” button that calls a service responsible to execute the query over a timeseries database. What I need now is to populate a dataGrid with the results of the query - since the columns are not predefined I was wondering what is the most efficient way to create a datagrid with columns that are recreated in runtime? Is there any similar project in CUBA that might help me achieve this functionality?
Thank you very much Konstantin!
This is what I was looking for. Just a question regarding the datagrid. Should the result set of returned entities is very large, is there any way for the control to load these entries asynchronously or partially?
The DataGrid component display all records from the connected data container. So your loadData() method should receive a page number and load entities accordingly.