0 Replies Latest reply on Jul 14, 2009 12:23 PM by hoy1

    cfgrid list all inserted rows

    hoy1 Level 1

      I build a cfgrid without any rows(no bind, no query), then I let user inserts some rows. I wan to read the user inserted rows back in javascript when click a button.


      I have code like this:


                     grid = ColdFusion.Grid.getGridObject('animal_group_grid');                  
                      sele = grid.getSelections();               
                      alert(sele[0].data.groupID );



      groupID is a column name in grid.


      However, It returns "undefined"


      What is wrong?