Tabulator: Move Rows with Clicks not Dragging

Created on 9 Mar 2018  路  2Comments  路  Source: olifolkerd/tabulator

Hi Oli,

Is there a way to use the movableRows option somehow to allow clicking a start and end point for a row instead of dragging it around the table? Maybe it would be better to use rowClickedand build on that...

Thanks.

Question - Ask On Stack Overflow

Most helpful comment

I wrote my own _SwapRows_ function and called it from within _rowClicked_... Hopefully I didn't reinvent the wheel...

All 2 comments

I wrote my own _SwapRows_ function and called it from within _rowClicked_... Hopefully I didn't reinvent the wheel...

Hey @xXmrotsXx

Sorry for not getting back to you sooner, had a bit of a manic few days.

Glad to hear you found a solution yourself, the is no inbuilt way to do this with Tabulator, but you could use the insertRow and deleteRow functions to achieve something similar.

Would you mind sharing your solution on here to help out others that may have the same issue?

Cheers

Oli :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

c3pos-brother picture c3pos-brother  路  3Comments

Honiah picture Honiah  路  3Comments

tomvanlier picture tomvanlier  路  3Comments

Manbec picture Manbec  路  3Comments

tomheaps picture tomheaps  路  3Comments