Link to home
Start Free TrialLog in
Avatar of Jay Roy
Jay RoyFlag for United States of America

asked on

getting x and y position in advanced datagrid

hi guys

I have my grid like this

public class Tradegrid extends AdvancedDatagrid
{
override protected function drawRowBackgrounds():void{
var curRow:int = 0;
var i:int = 0;
var n:int = listItems.length;      
while (curRow < n)
{
try
{
if (listItems[curRow][0])
{
for(var k:Number=0;k< listItems[curRow].length; k++){
here   how can i get the 'x' and 'y' position of each cell?
Also how can i know the width and height of each cell ?
}
}

any help greatly appreciated
thanks
Avatar of dgofman
dgofman
Flag of United States of America image

What do you mean all cells are starting from position x and y 0
width is columns width and height is rowHeight property of dataGrid
ASKER CERTIFIED SOLUTION
Avatar of dgofman
dgofman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial