Datatable column order
Posted: 19 Jul 2023, 04:08
Hi guys,
If I create a dynamic table like this one:
then add the datatable in a panel, the columns are in a different order.
I notice that if use numbers in the order property it changes the order of the columns, but still
seems random....
any idea how to select the order of the columns for a datatable?
I am chasing the right order alternating numbers, but not getting there... a refresh and the order
is gone...
If I create a dynamic table like this one:
Code: Select all
DefineObjectInstance {
className = "DynamicTable",
name = "Empleados",
source = "sql",
selectSQLcommand = "EMPNO,SURNAME,GIVENAME,SALARY from G14RHOLIB.PSLMST",
resultColumnNames = { "ID", "Apellido", "Nombre", "Salario" },
};
I notice that if use numbers in the order property it changes the order of the columns, but still
seems random....
Code: Select all
ENV.returnValue = [1,2,3,4];I am chasing the right order alternating numbers, but not getting there... a refresh and the order
is gone...