On Feb 22, 2006, at 9:02 AM, Michael Stuhr wrote:
i'm in a somewhat similar situation right now, i guess you have to
remove the Columns in your dataProvider and than set this data as
your grid's dataProvider.
All you have to do is set the DataGrid.columnNames prop of the data
grid. For
list
Subject: Re: [Flashcoders] DataGrid Columns question
Thanks all,
I've found solution by setting up columns ahead of time:
private function createColumn( prop:String, label:String ):DataGridColumn {
var clmn:DataGridColumn = new DataGridColumn(prop);
clmn.headerText = label;
Thanks all,
I've found solution by setting up columns ahead of time:
private function createColumn( prop:String, label:String ):DataGridColumn {
var clmn:DataGridColumn = new DataGridColumn(prop);
clmn.headerText = label;
return clmn;
}
dataGrid.addColumn(createColumn("nickname", "Nick
I believe you can set up your columns ahead of time, and name them to match
items in your DP, and if you don't include a column for userid, it won't be
displayed, but it will still be part of the row's data that you can
interogate.
-edolecki
On 2/22/06, Oleg Filipchuk <[EMAIL PROTECTED]> wrote:
>
Just set the columnNames property of the datagrid. Example in middle of
page here: http://flash-creations.com/notes/servercomm_database.php
Helen
--
http://flash-creations.com
http://i-technica.com
Michael Stuhr wrote:
Oleg Filipchuk schrieb:
Hello list,
I'm populating DataGrid componen
Oleg Filipchuk schrieb:
Hello list,
I'm populating DataGrid component from DB. And I need to specify what
columns have to be shown to user.
Normally i'd say: why do you pull them in anyway ? but i guess you need them
internally :_)
i'm in a somewhat similar situation right now, i guess you ha
6 matches
Mail list logo