Jay Roy
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
width is columns width and height is rowHeight property of dataGrid