Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    24
    Vote Rating
    0
    Roomy is on a distinguished road

      0  

    Default Unanswered: How to get the ROW from gridpanel?

    Unanswered: How to get the ROW from gridpanel?


    Below line is not working to select row from gridPanel.

    var rowToHighlight=Ext.get(grid.view.getRow(rowIndex));

  2. #2
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,074
    Answers
    111
    Vote Rating
    94
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      0  

    Default


    what exactly do you want to do? The selection model might help you:

    http://docs.sencha.com/extjs/4.2.0/#...election.Model

    E.g. if you want to get the selected row(s):

    Code:
    var sRows = grid.getSelectionModel().getSelection();
    or if you want to set the selection programmatically:
    Code:
    var index = 0;
    grid.getSelectionModel().select(index);  // select record by index
    
    var record = grid.getStore().first();
    grid.getSelectionModel().select(record);  // select record

  3. #3
    Sencha User
    Join Date
    May 2013
    Posts
    24
    Vote Rating
    0
    Roomy is on a distinguished road

      0  

    Default Undefined result.

    Undefined result.


    I use both the code line but result is UnDefined.

  4. #4
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,074
    Answers
    111
    Vote Rating
    94
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      0  

    Default


    what is undefined? do you have the grid visible in this scope? if you are using an id in your grid, then you can try Ext.getCmp('gridID').getSelectionModel()....

Thread Participants: 1

Tags for this Thread