Hybrid View

  1. #1
    Sencha User
    Join Date
    Dec 2008
    Location
    Manchester, UK
    Posts
    111
    Vote Rating
    8
    LisburnLad will become famous soon enough

      0  

    Default Resetting the Ext.grid.RowNumberer

    Resetting the Ext.grid.RowNumberer


    Hi,

    Does anyone know of an easy way to reset the Ext.grid.RowNumberer?

    Specifically I've got a grid and am using the RowEditor to add a new entry to this (very similar to the RowEditor example: http://dev.sencha.com/deploy/dev/exa...ow-editor.html). When the user presses on cancel, during the edit of a new row, I remove this row from the grid and at this point I'd like to reset the row numbering so that the first entry again becomes number 1 (in the example, cancelling a new item actually leaves the new entry behind, but if you then click on the RemoveEmployee button you'll see that the top entry is now labelled as number 2).

    Thanks for any help with this,
    Steve

  2. #2
    Sencha User
    Join Date
    Dec 2008
    Location
    Manchester, UK
    Posts
    111
    Vote Rating
    8
    LisburnLad will become famous soon enough

      0  

    Default


    I can actually now answer my own question - if anyone's interested renumbering can be done using:

    Code:
    grid.getView().refresh();

Similar Threads

  1. use the Ext.grid.RowNumberer with pagination
    By fxlacroix in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 12 Aug 2008, 4:38 AM
  2. problem with Ext.grid.RowNumberer
    By tarini in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 25 Feb 2008, 5:10 AM
  3. Paging with Ext.grid.RowNumberer
    By dam1an in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 12 Feb 2008, 6:38 AM

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi