Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Oct 2009
    Posts
    2
    Vote Rating
    0
    cschofld is on a distinguished road

      0  

    Default [FNR] Unbuffered TreeGrid Render Bug

    A TreeGrid with an Unbuffered View can lose rendered values.

    GXT - 2.1.1, 2.2.0 RC1
    GWT - 2.0.3, 2.0.4
    Host mode / web mode - Both
    Browser and version - All
    Operating System - Any

    Sample code:
    Change com.extjs.gxt.samples.client.examples.treegrid.TreeGridExample.java to be unbuffered.
    Code:
        ...
        final TreeGrid<ModelData> tree = new TreeGrid<ModelData>(store, cm);
        // insert following line
        tree.getTreeView().setBufferEnabled(false);
        tree.setBorders(true);
        ...
    To verify the issue:
    1. Run the example (Basic TreeGrid).
    2. Starting at the bottom of the tree expand each node including child nodes.
    3. Scroll to the bottom.
    Work Around:
    Override the view:
    Code:
        TreeGridView view = new TreeGridView() {
            @Override
            protected void clean() {
                if (grid == null || !grid.isViewReady() || !isBufferEnabled()) {
                    return;
                  }
                super.clean();
            }
        };
        view.setBufferEnabled(false);
        final TreeGrid<ModelData> tree = new TreeGrid<ModelData>(store, cm);
        tree.setView(view);
        tree.setBorders(true);
        ...
    Buffered
    Buffered.gif
    Unbuffered
    Unbuffered.gif
    Attached Images

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,974
    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

    Thanks for reporting. This is fixed in SVN now as of revision 2202. I fixed it directly in BufferView, as it also effects normal grid with BufferView.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    2
    Vote Rating
    0
    Abhishek Sharma is on a distinguished road

      0  

    Default Which version of gxt contains this fix?

    Could you please let us know which version of gxt contains this fix for rendering issue.

    Regards
    Abhi

Similar Threads

  1. Re-render Treegrid values
    By megaskins in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 30 Nov 2011, 6:28 AM
  2. Treegrid column render problem with IE
    By P'tit Philou in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 22 Apr 2010, 8:46 AM
  3. Replies: 8
    Last Post: 24 Feb 2010, 11:55 PM
  4. Disable Treegrid Checkbox after render
    By shiva-Kumar in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 3 Feb 2010, 6:49 AM
  5. [FNR] [2.0-Branch r1758] dnd in treegrid broken
    By takayser in forum Ext GWT: Bugs (2.x)
    Replies: 2
    Last Post: 19 Nov 2009, 11:11 AM

Thread Participants: 2