The table data that I got from a callback is always sorted in the default way and doesn’t reflect the new sort if the user sorted it differently from the GUI. Which means that using the active cell to get the data will always be related to the initial table order.
Is there a way to get the table data reflecting any change that the user did (Especially in terms of sorting)
def updateInceptionBktVegaScatter(active_cell, data):
row = active_cell[“row”]
col = active_cell[“column”]
col_id = active_cell[“column_id”]
cellData = data[row][col_id] # CellDATA is always corresponding the active cell from the initial table order