Get newValue Issue

3 replies. Last post: December 6, 2010 2:11 AM by Frank Bruce
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Frank BruceMember

When I have edited the cell and Press Enter key, I want to get the cell'S newEditvalue,but It is oldvalue.
See the picture and the code below.
Could you please give me a demo that how can I get the editing value??
(Such as 'mzd33')


 

        function PopupOtherPageGrid() {
          var grid = ISGetObject("WebGrid1");        
          var curCell = grid.GetActiveEditCell().cellIndex;  
          var WebDialogBox2 = ISGetObject("WebDialogBox1");      
          var activeCell = grid.GetActiveEditCell(); 
          var cellText=activeCell.ToCellObject().Value;   
          if(event.keyCode == 13&&curCell==2)
          { 
          alert("newValue is "+cellText)
//          WebDialogBox2.SetContentURL("PopPage.aspx?name="+cellText);
//          WebDialogBox2.ShowDialog();     
          }
          }   
All times are GMT -5. The time now is 1:32 AM.
Previous Next