Warning - scripting newbie @ work. I'm working on a script, a part of which sorts the data table by the user selected column (obtained by ColList selection and Eval List).
This does not work, it brings up the Sort dialog, which I don't want:
dt << Sort( By(_userCol), Order(Ascending), Replace Table);
When I hover over _userCol, the assigned column is shown in the scripting window. If I use the exact column name, it works without bringing up the Sort dialog:
dt << Sort( By(:Timestamp), Order(Ascending), Replace Table);
How can I script this using the variable _userCol?
Thanks!