Ui-Table deleting several columns at once

I am trying to delete several columns at once by sending the command deleteColumn, but it only deletes the column that refers to the first item of the arguments array. Do have I have to send an independent command for each individual column I want to delete? Is there a single command to delete all columns and data, i.e. to clear the table completely?

{"command": "deleteColumn", "arguments": [ "event", "active", "trigger" ], "returnPromise": false}

In this case only event column is being deleted.

I don’t think that deleteColumn accept an array of columns

To permanently remove a column from the table deleteColumn function. This function takes any of the standard column component look up options as its first parameter.

So I think you have to send several messages.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.