Column Move Manager

37 views
Skip to first unread message

Gian

unread,
May 4, 2013, 6:26:18 AM5/4/13
to slic...@googlegroups.com
Is there anything similar to Slick.RowMoveManager for columns reordering?

Anyone working on it?

Thanks

Michael Leibman

unread,
May 17, 2013, 4:06:40 PM5/17/13
to slickgrid
This is already present in SlickGrid.  See 'enableColumnReorder" option.


--
You received this message because you are subscribed to the Google Groups "SlickGrid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slickgrid+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Gianluca Bisceglie

unread,
May 17, 2013, 4:22:24 PM5/17/13
to slic...@googlegroups.com
For the rows, I subscribe to:

moveRowsPlugin.onMoveRows.subscribe(function(e, args) { }

and use 

args.insertBefore.

How can I get that "insertBefore" for the column reorder. Is there a onMoveColumns plugin I can subscribe to?
Thanks

Michael Leibman

unread,
May 17, 2013, 4:31:08 PM5/17/13
to slickgrid
Since there's no custom logic associated to the reordering of the columns, no such hook is exposed.
You can subscribe to the "onColumnsReordered" and use "getColumns()" to look at what the current column order is.
Reply all
Reply to author
Forward
0 new messages