Re: Flex Datagrid: MX vs Spark

2015-01-07 Thread DavidM
Thanks, the reason for putting it on the layout is because useVirtualLayout is not exposed as a public property on Spark Datagrid. Your answer explains why I didn't see any performance difference, however, isn't it still a bug for a layout not not respect height="100%" when useVirtualLayout='true'

Re: Best way to blink a Spark Datagrid cell

2015-01-07 Thread DavidM
Piotr - the problem is with turning off the blinking after some period, because at that later time, the renderer may be showing data belonging to a DIFFERENT cell. e.g. if you scroll the datagrid, the renderer will be recycled and will now be attached to a completely different cell. Alternativel

Re: SDK 4.14 installer

2015-01-07 Thread Alexander Farber
Are there please any screenshot of flatspark available, besides https://github.com/akamud/FlatSpark ? On Wed, Jan 7, 2015 at 3:05 AM, Justin Mclean wrote: > The RELEASE_NOTES link I posted before was to the very latest in the develop > branch which hasn't been released yet. That way you could se

RE: find and replace strings in TextFlow class

2015-01-07 Thread Carlos Cruz
thanks for the input it really helped! I'm including a simplified version snippet of my code, it may help someone... for(var x:int = selectedTextStart; x < activeFlow.textLength; x++){ var t:String = activeFlow.getText(x,x+textToSearch.lengt

Re: Best way to blink a Spark Datagrid cell

2015-01-07 Thread piotrz
Hi David, I think you should override property "data" in your renderer and manipulate there blinking state. Property "data" is refreshing every time when something is change in your dataProvider collection. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: Best way to blink a Spark Datagrid cell

2015-01-07 Thread DavidM
Evyatar - you get the gold medal. If I cache the last row index and last col index, then check that these haven't changed, then it seems to work, I can scroll without it causing the recycled itemrenderers to trigger (azeh yofie). Here is what I have (I wish I knew why it works): http://ns.adobe

Re: Best way to blink a Spark Datagrid cell

2015-01-07 Thread DavidM
Thanks, but not sure what you mean. This is the logic that change the background: if (labelDisplay.uid == lastUID) { if (lastText != labelDisplay.text) { needBlink = true;

Re: Best way to blink a Spark Datagrid cell

2015-01-07 Thread Evyatar Ben Halevi-Arbib
Perhaps you should perform the animation logic based on a combination of - 1. Data unique identifier didn't change. 2. Relevant data property did change. Currently it sounds like any data change triggers the logic and since the item-renderers are being recycled it behaves this way (set data functi

Re: Spark Datagrid horizontalScrollPosition

2015-01-07 Thread DavidM
Figured out the first one: grid.ensureCellIsVisible(row, col) -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Spark-Datagrid-horizontalScrollPosition-tp9342p9343.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Spark Datagrid horizontalScrollPosition

2015-01-07 Thread DavidM
2 questions regarding Spark Datagrid: 1) is there an equivalent of the MX Datagrid's horizontalScrollPosition? i.e: is there a way to manually set the visible column? 2) what's the best way to tell if a spark datagrid is currently scrolling? Thanks David -- View this message in context: h

Re: Best way to blink a Spark Datagrid cell

2015-01-07 Thread DavidM
Alex, I got it working with Spark Datagrid, sort of. The cells blink, just like in the animation version (#2 above). Additionally, it certainly seems way less resource intensive. The problem (just like #2 above), is that all the cells change color when they are first brought into view. I'm not su