0 Replies Latest reply on Jan 17, 2012 10:10 AM by nezar71

    how to goto last record in dtagrid

    nezar71

      I have this code to add data to grid i want after add goto the last row

      when i write code dataGrid.dataProvider.length-1 goto the before last row

      but when i write code dataGrid.dataProvider.length nothing happen what the wrong

       

       

      var que3:Que = new Que();


                  createQueResult.token = queService.createQue(que3);
                  createQueResult.token =queService.commit();
                  createQueResult.token =queService.getAllQue();



              dataGrid.ensureCellIsVisible(dataGrid.dataProvider.length-1,1);