Data Grid sort direction

Terence Heaford t.heaford at icloud.com
Mon Mar 9 05:10:48 EDT 2015


> On 9 Mar 2015, at 08:32, JB <sundown at pacifier.com> wrote:
> 
> The lessons show the following script to sort a column,
> 
> set the dgProps["sort by column"] of group "DataGrid" to “Name"
> 
> This will select the Header column Name and place the sort arrow
> in the ascending position.
> 
> Is there a way to select descending using a script?
> 
> John Balgenorth
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


Do you have the PDF, I think it is an easier read than the lessons.

I have posted it here.

https://dl.dropboxusercontent.com/u/98788898/LiveCode/LiveCode_Data_Grid.pdf

Search for sort and you will see some examples.


All the best

Terry




More information about the use-livecode mailing list