[CLOSED] Reset GridPanel columns to initial state

Page 2 of 2 FirstFirst 12
  1. #11
    There is one limitation, you cannot rerender BorderLayout regions
    If your grid is region in the border layout then wrap that grid by another container
  2. #12
    Daniil, using this method, how would I reset it from the code behind? Also, how would I change this to reset column visibility (if any have been hidden or shown)?
  3. #13
    Quote Originally Posted by jmcantrell View Post
    how would I reset it from the code behind?
    Just
    X.Js.Call("restoreConfig", new JRawValue(this.GridPanel1));
    Quote Originally Posted by jmcantrell View Post
    Also, how would I change this to reset column visibility (if any have been hidden or shown)?
    To save a hidden state please use
    c.hidden
    within Ext.each() of the .saveConfig() function.

    It is true if Hidden="true" and undefined if Hidden="false" (by default).

    To restore please use .setHidden().
    http://dev.sencha.com/deploy/ext-3.4...mber=setHidden
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] GridPanel - state for columns
    By PatrikG in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 13, 2012, 1:48 PM
  2. [CLOSED] [1.0] GridPanel's reconfigure reset columns' filter property
    By PoloTheMonk in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Sep 21, 2011, 10:39 AM
  3. Accordion Layout initial state
    By dcrysler in forum 1.x Help
    Replies: 1
    Last Post: Jul 15, 2011, 8:53 PM
  4. Replies: 0
    Last Post: May 09, 2011, 9:58 AM
  5. Replies: 3
    Last Post: Dec 03, 2010, 4:27 PM

Tags for this Thread

Posting Permissions