DataGrid properties and their syntax

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
GoneToSail
Posts: 49
Joined: Sun Jan 24, 2010 10:34 pm

DataGrid properties and their syntax

Post by GoneToSail » Sun Jan 24, 2010 10:44 pm

After having gone through most of the Revolution User Guide and the excellent document named "Revolution Data Grid", I'm still confused about where to find the complete list and the exact syntax for all DataGrid properties which can be set by script. For example, I assume that that the "sortbycolumn" can be "ascending" or "descending" but I couldn't find how to specify this choice.

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: DataGrid properties and their syntax

Post by sturgis » Mon Jan 25, 2010 1:14 am

You can find examples and the list of properties at http://revolution.screenstepslive.com/s ... Properties

For your example question it would be like this.

Code: Select all

dgColumnSortDirection [COLUMN] of group "Data Grid" to "ascending"

GoneToSail
Posts: 49
Joined: Sun Jan 24, 2010 10:34 pm

Re: DataGrid properties and their syntax

Post by GoneToSail » Mon Jan 25, 2010 9:55 am

Quick reply... which I hope will be useful to many others.
Many thanks !
François

Post Reply