> There's a SortDataGridColumn message that is sent to the datagrid when the > user clicks on a column to sort it.
I think that's only for tables. > Depending on the source of your data, you could sort it before loading it > into the datagrid. Most of the data in my datagrids comes form SQL databases > so I sort it while selecting it from the db. Unfortunately that doesn't cover changes to the datagrid data unless I reload all the dgdata when I add add or update a record although that probably would be faster than the 3 datagrid refreshes anyway. Cheers Monte _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode