getRowValues problem in ActiveWidGets Grid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrbadboy
    New Member
    • Jul 2007
    • 21

    getRowValues problem in ActiveWidGets Grid

    Hi,

    Im not able to find where getRowValues() function is defined in the grid framework.
    Can anybody help me to find where the function is defined or
    Can anybody explain how getRowValues() works in with the flow

    Error : While updating row after sorting error was fixed.

    Initially i had sorting error in the grid.

    It was not properly working when the grid was first sorted and then add/remove data. This error was fixed and i find that the error throws when a row is updated in a grid.

    Thanks
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, mrbadboy.

    What do you want your code to do? Give an example.
    What is your code doing that you don't want it to do? Give an example.
    What is your code *not* doing that it is supposed to? Give an example.

    Comment

    • mrbadboy
      New Member
      • Jul 2007
      • 21

      #3
      Originally posted by pbmods
      Heya, mrbadboy.

      What do you want your code to do? Give an example.
      What is your code doing that you don't want it to do? Give an example.
      What is your code *not* doing that it is supposed to? Give an example.


      Hi,

      I've downloaded activewidgets code from site. I got an error when i add / remove a row after sort that grid.

      function deleteRow(dataG rid, myArray, index, lastActionPerfo rmed){
      if (confirm("You wanna delete me?")) {
      delRow = myArray.splice( index,1);
      dataGrid.setRow Property("count ", myArray.length) ;
      dataGrid.refres h();
      alert ("Deleted row: " + delRow );
      return new lastAction("del ete",index,delR ow[0]);
      } else {
      return lastActionPerfo rmed;
      }
      }

      You can get an array of row indices (in display order) from the getRowValues() method.

      var rowSequenceArra y = obj.getRowValue s();

      My question is where the function (ie, getRowValues()) is defined ?

      If i want to update any row from my grid it'll not work and throw an error.


      Thanks.

      Comment

      Working...