Hybrid View

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    88
    Answers
    2
    Vote Rating
    3
    esag_dk is on a distinguished road

      0  

    Default Unanswered: (Tree)Grid: refresh only one row, cell or column

    Unanswered: (Tree)Grid: refresh only one row, cell or column


    I'm using a quite complex TreeGrid and I need to update the values of one column. I assume grid.getView().refresh(false) repaints the whole grid, although it is not necessary here. Is there a way to refresh/repaint only some cells/columns/rows to make it faster?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You can call the update method on the store to only update the specific row.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    88
    Answers
    2
    Vote Rating
    3
    esag_dk is on a distinguished road

      0  

    Default


    Thanks, that's what I've needed!

  4. #4
    Sencha User
    Join Date
    Jul 2013
    Posts
    6
    Vote Rating
    0
    shankiran7 is on a distinguished road

      0  

    Default


    How can I reload the columnconfig properties of a particular column of the updated row?

    I have a scenario in my project wherein a simpleCombox is attached to cells of two different columns 'A' and 'B' and the values in a simpleCombox ( should change dynamically(with help of SQL query from back-end) depending on a selection of value in another simpleCombox (A)..This should happen to each cell as a value selected in A can be different for different rows and subsequently the values in simpleComboBox( will be different.

    Please suggest a solution

Thread Participants: 2