Afternoon All
I have managed to implement drag re-ordering for a datagrid using dragstart and dragDrop which works on Desktop.
Before I start from scratch at tackling Mobile drag re-ordering for a datagrid does anyone have any examples?
Many Thanks
Drag Re-order Datagrid Mobile
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Drag Re-order Datagrid Mobile
Hi
DataGrid forms have re-ordering features built in. You set the dgEditMode property of the DataGrid to true which will show the default edit options. One of these is a reorder control which allows you to drag-reorder the rows of the DataGrid.
These controls can be customised if you need.
If a DataGrid form will work in your project I would suggest having a look at that option before trying to implement it yourself.
Kind regards
Elanor
DataGrid forms have re-ordering features built in. You set the dgEditMode property of the DataGrid to true which will show the default edit options. One of these is a reorder control which allows you to drag-reorder the rows of the DataGrid.
These controls can be customised if you need.
If a DataGrid form will work in your project I would suggest having a look at that option before trying to implement it yourself.
Kind regards
Elanor
Elanor Buchanan
Software Developer
LiveCode
Software Developer
LiveCode
Re: Drag Re-order Datagrid Mobile
Well this would have saved me a lot of work
Thats excellent thank you very much. I have just built a little test file of this and it works really well.
I'll start having a look into this in more detail later today with how to 'make things happen' off of the back of the re-ordering.
For reference for anyone else viewing this the link to the LiveCode Page for help on this is:
https://livecode.com/docs/9-5-0/whats-n ... ase-notes/
Thank you very much, much appreciated
Thats excellent thank you very much. I have just built a little test file of this and it works really well.
I'll start having a look into this in more detail later today with how to 'make things happen' off of the back of the re-ordering.
For reference for anyone else viewing this the link to the LiveCode Page for help on this is:
https://livecode.com/docs/9-5-0/whats-n ... ase-notes/
Thank you very much, much appreciated
Re: Drag Re-order Datagrid Mobile
Glad I could help!
Kind regards
Elanor
Kind regards
Elanor
Elanor Buchanan
Software Developer
LiveCode
Software Developer
LiveCode