datagrid forms and pre-defined sorting sorting

Monte Goulding monte at sweattechnologies.com
Wed Feb 2 20:35:24 CST 2011


> No, you aren't missing anything. There is already a 'sort by column'
> property. I suppose a 'sort by key' synonym could be added and the sorting
> logic could be applied to forms. I've added to a list of things to
> investigate.

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. For now I'm thinking it will be simplest to reset the whole dgData after an insert, delete or update and thereby push the sorting into a SQL query.

Cheers

Monte


More information about the use-livecode mailing list