Forum
November 2nd, 2014
A
A
A
The forums are currently locked and only available for read only access
Topic RSS
Hiding a column with filter hide all the filters input
13/09/2013
16:07
16:07
pirteid
Member
Members
Forum Posts: 6
Member Since:
27/01/2010
27/01/2010
Offline
In grid.base.js in showHideCol function you have this code
$("tr",$t.grid.hDiv).each(function(){
$(this.cells[i]).css("display", show);
});
$(this.cells[i]).css("display", show);
});
$(this.cells[i]) selector take all tr….even from nested tables. All the other input filters are in nested tables so because of this all of them is hidden.
You should undo to something like this:
$("tr",$t.grid.hDiv).each(function(){
$(this).children("th:eq("+i+")").css("display",show);
});
$(this).children("th:eq("+i+")").css("display",show);
});
Thanks,
Dragos
Forum Timezone: Europe/Sofia
Most Users Ever Online: 715
Currently Online:
59 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66