Or are you talking about sorting the DATA of a datagrid? 

put the dgText of group "myDataGrid" into tText
set the itemDelimiter to tab

repeat with i = 1 to the number of lines of tText
   put item i of tText into tLine
   sort items of tLine ascending
   put tLine into line i of tText
end repeat

set the dgText of group "myDataGrid" to tText

Nothing else would make any sense. 

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


_______________________________________________
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