Open GoogleCodeExporter opened 9 years ago
I resolved the problem.I changed:
var dati:IList=IList( dataProvider);
//var data= IList( dataProvider ).getItemAt( rowIndex );
with
var dati:IList=IList( _displayedModel);
//var data= IList( dataProvider ).getItemAt( rowIndex );
and i commented some lines in the updateDisplayList function
ofTreeGridItemRenderer.as:
for( var i : int = 0; i < _listData.depth - 1; i++ )
{
var currentx : Number = 5 + i * _listData.indentationGap;
//trunk.graphics.moveTo(currentx + (disclosureIcon.width / 2), 0 - _listData.trunkOffsetTop );
//trunk.graphics.lineTo(currentx + (disclosureIcon.width / 2), this.height +_listData.trunkOffsetBottom);
}
Now i can draw a tree like this:
root
|_b
|_c
|_d
|_e
Original comment by lorenzo....@outlook.com
on 31 Aug 2011 at 10:33
Original issue reported on code.google.com by
lorenzo....@outlook.com
on 31 Aug 2011 at 8:54