Datagrid sorting

Marcello Bertoli mbertoli at libero.it
Mon Apr 26 12:55:17 EDT 2010


On 26/apr/2010, at 18.01, Trevor DeVore wrote:

> on SortDataGridColumn pColumn
>    switch pColumn
>        case "invoice date"
>            SortDataByKey "invoice date", ...
>            SortDataByKey "invoice number", ...
>            HiliteAndStoreSortByColumn pColumn
>            break
>        default
>            pass SortDataGridColumn
>    end switch
> end SortDataGridColumn
> 
> Untested but it should work.

It works...

Thank you very much

Best Regards
Marcello



More information about the use-livecode mailing list