datagrid forms and pre-defined sorting sorting

Monte Goulding monte at sweattechnologies.com
Wed Feb 2 22:52:06 EST 2011


>> It would be great if we could provide an ordered list of sortKeys just like
>> can be done with the sort command in livecode and order by in SQL.
>> 
> 
> Right. That is what I would do so you could just set the dgProp["sort by
> key"] to "last name" cr & "first name". (There is no rule that says data
> grid column names can't have which is why cr is used.)

Great! Would each key have it's own set of parameters (numeric, descending etc)

Cheers

Monte


More information about the use-livecode mailing list