Its for desktop (actually for mobile too, but not tried that yet)

On 10/10/2013 12:28, Deepak MS wrote:
Is it for web or mobile? I had the same issue for mobile app.
interactionMode="touch" on datagrid solved the problem.


On Thu, Oct 10, 2013 at 4:52 PM, Lee Burrows
<subscripti...@leeburrows.com>wrote:

Hi All,

I am attempting to upgrade a flex app to the 4.10 sdk but i'm encountering
an issue with the spark DataGrid.

My datagrid is displaying as if it has no data (a single column with an
empty header) but it does have horizontal and vertical scrollbars which
seem to be correctly sized for the number of rows/columns that should be
being displayed.

The only 'special' feature of the datagrid is that columns are defined and
added at runtime, rather than via mxml. Debugging shows that dataProvider
property contains the correct ArrayCollection data and the columns property
contains the correct ArrayList (everything worked fine in 4.9.1).

A quick browse thru the DataGrid change history doesnt alert me to any
changes that could be causing this. Does anybody have any ideas before i
dig deeper?

fyi, scrolling vertically causes this RTE:

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
     at spark.components::**GridColumnHeaderGroup/grid_**
propertyChangeHandler()[/**Users/justinmclean/Documents/**
ApacheFlex4.10/frameworks/**projects/spark/src/spark/**components/**
GridColumnHeaderGroup.as:501]

On this line:

ghl.**centerGridColumnHeaderView.**horizontalScrollPosition =
Number(pce.newValue);

(centerGridColumnHeaderView is null)

--
Lee Burrows
ActionScripter




--
Lee Burrows
ActionScripter

Reply via email to