ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: queensgambit9 on November 15, 2016, 03:30:23 pm
-
Is it possible to hide column by dataIndx?
Instead of using index:
colModel[0].hidden = true;
Thanks.
-
Yes, in that case get reference to column with getColumn method.
grid.getColumn({ dataIndx: 'dataIndx of column' }).hidden = true;
http://paramquery.com/pro/api#method-getColumn