RE: [Flashcoders] CellRenderer, Datagrid component updating
I've had many problems with the DataGrid and CellRender. One trick that may be worth trying, but is by no means guaranteed to have any effect, is the following line: dataGrid.dataProvider = dataGrid.dataProvider; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 28 February 2007 17:47 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] CellRenderer, Datagrid component updating I have the followinng setup: comboBoxA, a dataGrid, and a cellrenderer in the datagrid which renders comboboxB in each cell. ComboboxA switches the dataprovider for the datagrid, thus changing the datagrid. It's all working fine, except that I cannot seem to get the comboBox within the datagrid to change it's selected index according to the value in the new dataProvider in the datagrid. I have followed the Adobe script examples for (their ComboBoxCell.as file), but the combobox's selectedIndex in the cell remains the same even though the dataprovider changes. It does however work fine for other cellRenderers in the datagrid, like some textInputs. I would ask the question first before posting a lot of code - anyone have any ideas? Jason Merrill Bank of America ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] DataGrid Component not displaying all rows
This strange quirk of the DataGrid Component has nothing to do with the Flash Remoting RecordSet Class. It is in fact caused by the DataGrid being exactly the right height to display 20 records. The solution is simple, make it one pixel less high. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Skinner Sent: 13 February 2007 15:47 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] DataGrid Component not displaying all rows I have a DataGrid Component that has it's dataProvider property set to a RecordSet that has been returned from the server via Flash Remoting. All goes well untill I try to display more than 20 results in the DataGrid, when it will display all except for the last one. I've traced the length of the dataProvider and the last item in the dataProvider and it all looks ok. By using Service Capture I can see that the RecordSet that is returned is not the same as what is displayed in the DataGrid. I'm thinking this may have something to do with the pageable options of a RecordSet. Or possibly some setting in Flash Remoting. But if anyone has any other ideas what might cause this, then please let me know. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] DataGrid Component not displaying all rows
I have a DataGrid Component that has it's dataProvider property set to a RecordSet that has been returned from the server via Flash Remoting. All goes well untill I try to display more than 20 results in the DataGrid, when it will display all except for the last one. I've traced the length of the dataProvider and the last item in the dataProvider and it all looks ok. By using Service Capture I can see that the RecordSet that is returned is not the same as what is displayed in the DataGrid. I'm thinking this may have something to do with the pageable options of a RecordSet. Or possibly some setting in Flash Remoting. But if anyone has any other ideas what might cause this, then please let me know. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Speed up Datagrids
One tip/trick I learnt from my current company. Make the DataGrid 4 pixels high, once the data has loaded resize the DG. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Tree Component broken
Well maybe that's a little dramatic, but it certainly is very easy to break it in Flash Player 8 and 9. All that is required is: _global.style.setStyle(alternatingRowColors, [0xFF, 0xF3F3F3]); Then you can no longer select nodes when you open them. Unless you have a very long tree and make open unselectable nodes scroll out of the Tree window then scroll them back into view and they magically become selectable again. Has anyone else come across this bug before? Anyone have any thoughts on how to fix this? Or any work arounds? I'm currently trying to get my Flash Player 7 application to work satisfactorily in Flash Player 8, before I try and figure out why a very large part of it doesn't work at all in FP9. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com