4 Replies Latest reply on Jul 23, 2009 11:36 PM by *Prashant Shelke*

    How to get individual column inside an itemrenderer?

    kage0002

      Hey,

      I was wondering if there is any way to get the individual column of a datagrid in an itemrenderer? I have one datagrid with 4 columns. I would like to use one itemrenderer for all of them. Is there any way inside the itemrenderer that gets the individual column for me. For example

       

      ItemRenderer:

       

      datagrid1=(parentDocument as Filename)datagrid;

      if(datagrid1."selectedColumn"==0){

      dothis();

      }

      if(datagrid1."selectedColumn"==1){

      dothat();

      }

       

      Is something like this possible??

      Thanks!

       

       

      Regards

      Kat