ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Hide column by dataIndx
« previous
next »
Print
Pages: [
1
]
Author
Topic: Hide column by dataIndx (Read 1884 times)
queensgambit9
Pro Ultimate
Sr. Member
Posts: 341
Hide column by dataIndx
«
on:
November 15, 2016, 03:30:23 pm »
Is it possible to hide column by dataIndx?
Instead of using index:
Code:
[Select]
colModel[0].hidden = true;
Thanks.
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Hide column by dataIndx
«
Reply #1 on:
November 15, 2016, 03:46:21 pm »
Yes, in that case get reference to column with getColumn method.
Code:
[Select]
grid.getColumn({ dataIndx: 'dataIndx of column' }).hidden = true;
http://paramquery.com/pro/api#method-getColumn
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Hide column by dataIndx