1 2 3 4 5 6 | from Spotfire.Dxp.Application.Visuals import TablePlot, TablePlotColumnSortMode
toTableSort = vTable.As[TablePlot](); todataColumn = toTableSort.Data.DataTableReference.Columns[sortColumn]; toTableSort.SortInfos.Clear(); toTableSort.SortInfos.Add(todataColumn, TablePlotColumnSortMode.Ascending);
|
Input: sortColumn (String): The column name of the column to sort
vTable (Table): The target table visualization