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 / Data Integration / June 2007



Tip: Looking for answers? Try searching our database.

XML SelectedIndex

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary3dtobe - 21 Jun 2007 16:14 GMT
I have a DataGrid bound to an XMLConnector and XMLDataSet. The XML data loads
fine into the components. However, I cannot get the value of the selected index
using: my_datagrid.selectedIndex

The call works fine if you use addItem to populate the grid.

Is there an issue being that the datagrid.selectedIndex parameter is bound to
the XML components?

Thanks,
Gary
MotionMaker - 25 Jun 2007 13:11 GMT
selectedIndex is inherited from the List component.

If an item is selected, then it has a value otherwise no value. User can
select and item or in code you can select an item.

Not even sure why addItem is setting the value. I would think you could have
the first item selected while adding items in the background and not confuse
the user.
 
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.