So I was still experiencing the same issue whenever I would extend the
GridItemRenderer class. I was finding that element.getLayoutMatrix() was
returning null here:
https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/spark/src/spark/components/gridClasses/DataGridDragProxy.as#L161
So I tried rolling out the patch in the above ticket and I soon started
experiencing the same issue Mario Specht has, which is the null pointer in
MatricUtil (being passed in a null matrix).
I found there might be a problem with this:
https://github.com/apache/flex-sdk/blob/develop/frameworks/proj
Hello, I was actually experiencing the same problem and have already made a
ticket for it:
https://issues.apache.org/jira/browse/FLEX-33705
The problem is with the drag proxy (the transparent copy of the row which
follows your mouse). It gets the grid to make new item renderers but fails
to assign
The data is not the problem, the column is null. If I change it the following
way:
if(column)
albumName.text = data[column.dataField];
I get a null pointer exception in MatrixUtil.as:543
change it to
if(data)
albumName.text = data[column.dataField];
Thank You,
Stephe
The itemRenderer looks like this:
http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" clipAndEnableScrolling="true">