Re: [flexcoders] Dynamic DataGrid

2013-01-25 Thread doug g
Something like this? ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx xmlns:view=com.nexage.common.view.nexWizard.view.*

RE: [flexcoders] Dynamic DataGrid

2013-01-14 Thread Sells, Fred
Try visible=false on a column without data, or don't specify columns and it will only show the data but the headings can be ugly. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Oleg Konovalov Sent: Monday, January 14, 2013 11:04 AM To:

RE: [flexcoders] Dynamic DataGrid row height ?

2008-06-12 Thread Alex Harui
Subclass Tree and change its measure() method to report a measuredHeight that contains the current number of rows * rowHeight From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tvikatos Sent: Thursday, June 12, 2008 1:50 AM To:

Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling

2008-01-20 Thread Gary Smith
After more testing I have now reported this as a bug, you can follow and vote for this bug to be fixed, it seems that it was a cell rendering problem, so please all vote for this to be fixed http://bugs.adobe.com/jira/browse/SDK-14361 -- View this message in context:

Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling

2008-01-15 Thread Gary Smith
Thanks Scott you've been a great help, this is a great improvement over the last test example demo: http://www.smithkjaer.dk/flex/tst3/ArrayCollectionDemo4.html source: http://www.smithkjaer.dk/flex/tst3/srcview/index.html What has surprised me the most from this exercise is that alot of the

Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling

2008-01-14 Thread Gary Smith
Thanks for the quick reply Am I missing something, I have stripped the previous dynamic column generation out of the source and just concentrated on the test xml file which is delivered by our ERP system. The purpose of this code is to test the performance of the datagrid Here is the new

Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling

2008-01-14 Thread Scott Melby
Gary - It looks to me like you are still rendering XML objects, you have just stuck them into an ArrayCollection instead of an XMLListCollection with this line of code. Lemme know if I am missing something there. dgQuery = event.result.queryresult.rows.row; // ArrayCollection is

Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling

2008-01-11 Thread Scott Melby
Gary - Pretty much Every time I see datagrid performance issues it is due to 1 of the following 2 issues. 1) Heavy renderers (HBox VBox, etc,) - This is not the case for you application since you are just using the standard renderer. 2) Inefficient data source - I believe this is the case

RE: [flexcoders] Dynamic DataGrid + slow horizontal scrolling

2008-01-11 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling Gary - Pretty much Every time I see datagrid performance issues it is due to 1 of the following 2 issues. 1) Heavy renderers (HBox VBox, etc,) - This is not the case for you application since you

Re: [flexcoders] Dynamic DataGrid selectedItem

2006-10-08 Thread Hari Kolasani
Never Mind. I posted it too soon. I just figured a way to do this: var:selectedRow = mydatagrid.selectedItems[0]; for (var colName:String in selectedRow ) { var colVal = selectedRow[colName]); } Hari Kolasani wrote: Hello, I have a Dynamic DataGrid (I create DataGrid

Re: [flexcoders] Dynamic DataGrid selectedItem

2006-10-08 Thread Harish Sivaramakrishnan
It is recommended that you query the underlying dataProvider. by doing mydatagrid.dataProvider.getItemAt(mydatagrid.selectedIndices[0]).colName;Generically dginstance.dataProvider.getItemAt(selectedIndex).colName; In case of having only one selection make the selectedIndex as