ShinobiDataGrid - Reorder columns


#1

I’d like to allow the user to long-press a header cell to then drag and drop the column in a different location - an interaction similar to how rows can be moved. Is this possible using the current framework? If not, is there a way to achieve it? Alternatively, will this be a feature of a future version?


#2

Can I ask, are you planning to use the Grid or the DataGrid?


#3

As the subject says, it is a DataGrid.


#4

Set the canReorderViaLongPress property on your SDataGridColumn to YES.

Jan


#5

Thank you… I must have missed reading that section of the documentation. Even though I went searching specifically for that  :blush:


#6

No problem! It happens to the best of us.  :wink: