finos/vuu

when table metadata is sent to client, preserve order of table columns as created in module

Opened this issue · 1 comments

vuu server sends list of column names, along with column types, in TABLE_META response. Column names are ordered alphabetically.
Can we preserve the order of column names in this list to match the order in which columns were defined on the table definition.

That way. columns can be defined in the order that makes most sense for display to UI, without additional configuration on the client.

GetTableMetaResponse currently sorts the columns
Need to return the columns in the order it was defined in the TableDef to enable driving of the table column order from server side. This remove the need for UI configuration to set the column order in default cases.