[CLOSED] GridPanel columns Show/Hide Handler

  1. #1

    [CLOSED] GridPanel columns Show/Hide Handler

    Hi,

    I'd like to handle client side events for showing/hiding GridPanel columns via the default Columns menu. Please recommend a working approach or provide a link to an example.
    Last edited by Daniil; Mar 06, 2013 at 4:10 PM. Reason: [CLOSED]
  2. #2
    I believe I have it figured out. The Handler to implement is named HiddenChange on the ColumnModel object. The handling function receives three parameters:
    the item (ColumnModel), the column index and the boolean flag (true if hidden, false otherwise).
    http://docs.sencha.com/ext-js/3-4/#!...t-hiddenchange
    Please mark this thread as closed.
    Last edited by vadym.f; Mar 06, 2013 at 3:26 PM.

Similar Threads

  1. [CLOSED] Hide / Show columns in Grid - Razor
    By MTSI in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 30, 2012, 12:41 PM
  2. [CLOSED] Hide columns item menù on gridpanel header
    By John_Writers in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 20, 2011, 12:54 PM
  3. GridPanel Hide/Show Columns
    By vs.mukesh in forum 1.x Help
    Replies: 1
    Last Post: Oct 30, 2010, 4:29 PM
  4. [CLOSED] Show/hide GridPanel columns during DirectEvent
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 20, 2010, 8:51 PM
  5. [CLOSED] Show/Hide grid columns
    By GmServizi in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Mar 28, 2010, 6:39 AM

Tags for this Thread

Posting Permissions