[CLOSED] Migration Hiding columns

  1. #1

    [CLOSED] Migration Hiding columns

    I have changed to what seems to be the new way but can't get any columns to show. They are all hidden by default and the code shows them.

            var changeVisibleColumns = function(ms, value) {
                var myheaderCt = <%= ResultGrid.Grid.ClientID %>.headerCt;
                var myColumns = myheaderCt.getGridColumns();
                myColumns[3].Hidden=false;
                myColumns[4].Hidden=false;
            };
    Last edited by Daniil; Jul 10, 2013 at 3:50 AM. Reason: [CLOSED]
  2. #2
    Hello!

    You should use show/hide or setVisible methods of the column:

    App.ResultGrid.columns[3].hide();
    or
    App.ResultGrid.columns[3].setVisible(false);

Similar Threads

  1. Hiding Columns in Grid Panel
    By ChrisO in forum 2.x Help
    Replies: 1
    Last Post: Apr 24, 2013, 9:40 AM
  2. Replies: 5
    Last Post: Jan 08, 2013, 11:45 AM
  3. [CLOSED] Prevent user from hiding only specific columns in treegrid
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 16, 2011, 6:11 PM
  4. [CLOSED] Problem Hiding/Showing TreeGrid Columns in Chrome
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 17, 2011, 2:13 PM
  5. [CLOSED] Problems hiding/showing TreeGrid columns
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: Sep 13, 2011, 9:24 PM

Posting Permissions