DataGrid Sorting
Terence Heaford
t.heaford at btinternet.com
Wed Jul 23 07:29:24 EDT 2014
Hi,
Thanks very much for your response.
That has sorted it (no pun intended).
I have noted that in relation to my question that the following seems to be the solution to sorting UK dates dd/mm/yyyy.
SortDataByKey "date","system dateTime", “Ascending or Descending", false
Thanks again
Terry
On 23 Jul 2014, at 09:30, zryip theSlug <zryip.theslug at gmail.com> wrote:
> Hi Terry,
>
> No need of the SortDataGridColumn handler in this case. Sorting type
> can be handled by using the dgColumnSortType property of the datagrid:
>
> set the dgColumnSortType["date"] of grp "myDatagrid" to "system dateTime"
>
>
> Best Regards,
>
> --
> Zryip TheSlug
> http://www.aslugontheroad.com
>
> _______________________________________________
> 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
More information about the use-livecode
mailing list