4 Replies Latest reply on Jan 27, 2008 3:49 AM by Misenko

    How to determine DataGrid Item Renderer column number

    Misenko Level 1
      Hi, Can anybody help me with this problem? I have datagrid with custom item renderers. Now, if I click on one of them, I need to know, which column is this item renderer located in...

      For exaple:

      | Column0 | Column1 | Column2 |
      | IR1 | IR2 | IR3 |

      Now if I click on IR2, retrun value should be "Column1 was clicked", or just a column number. I have event listener (MouseEvent.Click) on each renderer, but I simly don't know to determine Column number....

      Thanks for help...