Groups | Blog | Home
all groups > macromedia flash flash remoting > may 2004 >

macromedia flash flash remoting : setDataProvider and list component question


hAndyMan03
5/25/2004 4:16:32 AM
I'm using a list component (flash mx 2004 pro) to display all the members i my
Access Database. I order to to that i have a coldFusion Mx component (cfc)
which returns firstName, lastName and ID.

I use the following code to populate the list component (and that works fine):
myList.setDataProvider(result)

the list now displays firstName, lastName, ID, and I really don't want the ID
to be shown. Still i need it because other users should be able to click on a
name in the list and get more information about that person...

any suggestion guys?

btw: the following code is triggered when someone click a name in the list:

mySelection = (this.myList.selectedItem.ID);
myService.doDisplayDetails({myUserID:mySelection});

Vevmesteren
5/26/2004 4:46:59 PM
had the same problem. Ended up with the following:

I am using the DataGrid component (basicly an enriched list box) and the DataGrid Column editor
works like a charm

hAndyMan03
5/27/2004 1:13:39 AM
AH...thanks mate.
I don't know why I didn't think of this, given I've already followed that tutorial....anyway

Thanks for pushing me back on track:)

This works like a charm

AddThis Social Bookmark Button