Sure there is! 

put the dgProp ["columns"] of group myDatagrid into tGridColumns
sort tGridColumns ascending
set the dgProp ["columns"] of group myDataGrid to tGridColumns

I would store the original sort order first though so you can recover. 

Bob S


> On Jun 30, 2022, at 15:59 , Hershel F via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi all, is there any way of sorting a data grid horizontally?
> thanks a mill.


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to