all groups > macromedia flash flash remoting > september 2006 >
You're in the

macromedia flash flash remoting

group:

use dataset with datagrid


use dataset with datagrid steanson
9/16/2006 9:38:57 PM
macromedia flash flash remoting:
Hi I have a recordset returned from remoting.
I'd like to display a partial view of the recordset in my datagrid, and I'd
like to change some of the header titles.
I've just discovered the DataSet component and was wondering whether there was
a way to use binding to do the job.
Any help much appreciated
Re: use dataset with datagrid ANK...
9/21/2006 12:00:00 AM
HI,

you can appy the recoerd set to datagrid then whichever column u not want to
display then just remove this
using....
=> DG.removeColumnAt(Columnno)

and u want to change name by using
=> DG.getColumnAt(columnno).headerText = ""

Thanks,
Ankur Patel
Re: use dataset with datagrid steanson001
9/21/2006 7:42:10 PM
thanks Ank,
what i'm trying to do is use put the returned data into a DataSet, then access
that data in various components. Its quite easy to create a schema for my
DataGrid or List, but I binding it to fields in the DataSet just doesn't seem
to work.
e.g. binding might be:
myDataSet.items.[n].testField < ========> myGrid.dataProvider.[n].testField2
now I ain't got a clue why that doesn't work
cheers Steve



AddThis Social Bookmark Button