Data grid
Hershel Fisch
hershrev at syp2u4c.com
Mon May 18 18:40:08 EDT 2009
Thanks, didn't get it.
After all done already, when I need data from col 1 row 2 how do I do that?
DgHilitedLine gives me the hilitedLine
put the dgDataOfLine doesn't display any thing.
Thanks, in advanced
On 5/18/09 8:02 AM, "Trevor DeVore" <lists at mangomultimedia.com> wrote:
> On May 17, 2009, at 7:49 PM, Hershel Fisch wrote:
>
>> First of all Thanks, I realize that if the dgText is set when a
>> columns
>> visibility is set to false then I can NOT get the text of that cell or
>> column, is that the way it supposed to be?
>> In other words I have to..
>> set the dgColumnIsVisible[column_name] of group "lst_fld" to true
>> Then set the dgText of group "data grid"
changed code
set the dgText [pFirstLineContainsHeaders] of group "data grid"
>> set the dgColumnIsVisible[column_name] of group "lst_fld" to false
>> Other wise it doesn't pick up the text of that column or fld.
>
> When setting the dgText property you can pass in the columns that each
> item in your data should map to. You do this by making row 1 the
> column names and setting pFirstLineContainsHeaders to true:
>
> set the dgText [true] of group "DataGrid" to theTextWithColumnMappings
>
> By doing this you don't have to worry about the visible state of the
> column.
>
> <http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagri
> d/lessons/3461-Data-Grid-API
>>
>
> Regards,
More information about the use-livecode
mailing list