code: function getCols(table) {
        var panel = tiaEJ.search.parentPanel(table);
        var columns = panel.getVisibleColumns();
        return columns;
      }
docs: Gets columns objects for a table.
  @param {Ext.view.Table} table - the table.
  @returns {Array} - columns.