datagrid forms and pre-defined sorting sorting

Trevor DeVore lists at mangomultimedia.com
Wed Feb 2 22:40:40 EST 2011


On Wed, Feb 2, 2011 at 9:35 PM, Monte Goulding
<monte at sweattechnologies.com>wrote:

>
> 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.)

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
LiveCode Resources for Developers: http://livecode.bluemangolearning.com



More information about the Use-livecode mailing list