Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / September 2006



Tip: Looking for answers? Try searching our database.

use dataset with datagrid

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
steanson - 16 Sep 2006 22:38 GMT
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
ANK... - 21 Sep 2006 14:47 GMT
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
steanson001 - 21 Sep 2006 20:42 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.