Re: [flexcoders] Horrible performance problems...Need some ideas on improving

2008-09-04 Thread Adrian Williams
Hi Doug, No, they are not graphical...static int data...here is a good wiki for what we are doingthe columns in my ADG are the DYS markers and the data for each row comes from the alleles (which in the wiki table are the valid range, e.g. DYS390 has an allelic value between 17 and 28).

Re: [flexcoders] Horrible performance problems...Need some ideas on improving

2008-09-04 Thread Douglas Knudsen
These markers are graphic? http://en.wikipedia.org/wiki/Restriction_fragment_length_polymorphism If so, couldn't you use the drawing API maybe in a ItemRenderer for a List? Much lighter than a DG and certainly far lighter then ADG. DK On Thu, Sep 4, 2008 at 12:21 PM, Adrian Williams <[EMAIL PROTE

Re: [flexcoders] Horrible performance problems...Need some ideas on improving

2008-09-04 Thread Adrian Williams
Hi Tom, Under normal circumstances, I would tend to agree...however, it's our users that are demanding the data...in a nutshell, we are displaying genetic DNA data and the columns are pertinent to the work our users are doing. The 100 columns are genetic markers and the row is a test sampl

Re: [flexcoders] Horrible performance problems...Need some ideas on improving

2008-09-04 Thread Michael Schmalle
Doug, Any component developer that has created and/or extends/maintains this framework knows you really meant; override protected function updateDisplayOfItemRenderer(r:IListItemRenderer):void { if (r is IInvalidating) { var ui:IInvalidating = IInva

Re: [flexcoders] Horrible performance problems...Need some ideas on improving

2008-09-04 Thread Tom Chiverton
On Thursday 04 Sep 2008, Adrian Williams wrote: > My ADG has approx. 100 columns with approx. 200 rows, I wouldn't consider a 100 row DataGrid a very good user experience, in the general case, so maybe you could redo the GUI. Probably not the quickest fix :-) -- Tom Chiverton *

Re: [flexcoders] Horrible performance problems...Need some ideas on improving

2008-09-04 Thread Doug McCune
heh, my bad about the comments in that block of code, I copied and pasted without really reading :) To be diplomatic let's just say I have complex emotions when it comes to the work that was done on the ADG, and that I don't in fact hate anyone anywhere in the world. On Thu, Sep 4, 2008 at 8:51 AM

Re: [flexcoders] Horrible performance problems...Need some ideas on improving

2008-09-04 Thread Doug McCune
the class has a bunch of other stuff in it too (we needed some further display customization), but it's pretty straightforward. The updateDisplayOfItemRenderer method was overriden like so: override protected function updateDisplayOfItemRenderer(r:IListItemRenderer):void { if (

Re: [flexcoders] Horrible performance problems...Need some ideas on improving

2008-09-04 Thread Adrian Williams
Hi Doug, This makes sense. It's staggering that the validateNow() is being called basically on every cell In hope of avoiding recreating the wheel, would you be willing to share your extended code with me so I can give it a whirl and see if it remedies the problem? Thanks! Adria

Re: [flexcoders] Horrible performance problems...Need some ideas on improving

2008-09-04 Thread Doug McCune
There are a few places within the ADG code where the code loops over every single item renderer and needlessly (or at least excessively) calls validateNow() on each renderer. That forces the renderers to each relayout and draw themselves and does not allow the delayed layout processing that the fra

[flexcoders] Horrible performance problems...Need some ideas on improving

2008-09-04 Thread Adrian Williams
All, I am seeing some incredible lag while using a couple of simple panels and a complex ADG. While I love the flexibility and power of Flex/AS and the ADG, I really need to overcome these performance problems or the project will sink. My ADG has approx. 100 columns with approx. 200