Wow, we’re even getting weirder
here. If I reference the dataGrid *at all*
it loses the first row. The renderer is calling expandFunc when it gets clicked
(it’s a button). Here’s my code….(comment the Alert, and it
works fine. Keep it, and my first row disappears) public function expandFunc(e:Event) { myLegendICV = new
ArrayCollection(myData); LegendDG.dataProvider =
myData; Alert.show("Here:
"+LegendDG,"Alert",Alert.OK); } public var myData:Array = [{name:'Contact
Info',height:50}, {name:'Overall Quality Rating',height:30}, {name:'Clinical Services
Rating',height:30}, {name:'Patient Safety Rating',height:30}, {name:'Safe Practice Rating',height:30}, {name:'Appropriate Care',height:30}, {name:'Learn More',height:30}]; sortableColumns="false"
selectable="false" selectionColor="#FBF2D1" rowCount="7"
variableRowHeight="true" id="LegendDG" height="350"
width="200" > <mx:columns> <mx:Array> <mx:DataGridColumn
cellRenderer="custom.renderers.legendRenderer"
columnName="name" headerText=" "/> </mx:Array> </mx:columns> </mx:DataGrid> _________________________________________ Jonathan Miranda Flexible Master of the Web "In the
game of chess, it's important to never let your opponent see your pieces." HealthGrades: Guiding NASDAQ:
HGRD w
(720) 963-3832 c
(707) 761-0868 _________________________________________ The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee. If you are not the named addressee you should not disseminate,
distribute, or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete, or contain viruses. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a hard-copy
version. From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Jonathan Miranda Alright, think I’ve found a real fun bug. Have fun
with this Matt J myLegendICV = new
ArrayCollection(myData); LegendDG.dataProvider = myLegendICV; Alert.show("Here:
"+LegendDG.dataProvider[3].height,"Alert",Alert.OK); Alert.show("Here:
"+myLegendICV[3].height,"Alert",Alert.OK);
_________________________________________ Jonathan Miranda Flexible Master of
the Web "In the game of
chess, it's important to never let your opponent see your pieces." HealthGrades:
Guiding NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 _________________________________________ The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee. If
you are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.
|
- [flexcoders] Disappearing Data Jonathan Miranda
- RE: [flexcoders] Disappearing Data Jonathan Miranda
- RE: [flexcoders] Disappearing Data Matt Chotin
- [flexcoders] Re: Disappearing Data harishsivaram