all groups > macromedia flash flash remoting > april 2004 >
You're in the

macromedia flash flash remoting

group:

Flash MX 2004 Pro Datragrid & dataprovider


Flash MX 2004 Pro Datragrid & dataprovider Vevmesteren
4/27/2004 1:56:56 PM
macromedia flash flash remoting: hello,
I have a CFC that returns a range of records. Each record holds a variety of
columns., Now, I do not want the datagrid fed by the CFC, to display all the
columns, just three of them. Also, if I just use dataProvider , the datagrid
automaticly set's the header-texts to the column names. So my question is, how
do I set columnheaders, their pertaining values and then feed these in

function getProjects_Result(result){
[...]
}
Re: Flash MX 2004 Pro Datragrid & dataprovider Vevmesteren
4/27/2004 3:13:47 PM
Re: Flash MX 2004 Pro Datragrid & dataprovider pstnotpd
4/27/2004 4:23:35 PM
cdgDatagrid.HeaderCells[i].text="Something" sets the texts.

On the result function remove the columns from the datagrid that you
don't need.

cdgDatagrid.removeColumnAt(i);

The original resultset is still available.


[quoted text, click to view]
Re: Flash MX 2004 Pro Datragrid & dataprovider jshaffner
4/29/2004 11:48:07 PM
When you said that you found another solution, can you explain a bit more in details of how?

AddThis Social Bookmark Button