Hi,
I have a table, I would like dynamically show or hide a couple of columns based on the searching result.
How can this be done?
Thanks,
Xiaoli
show or hide a table column
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
If the table contains data i.e. it's not empty, then to hide an entire column:
To hide a single table cell (show spaces in the table cell):
If the table is empty, you can hide an entire column with:
Code: Select all
controls.FIELDCOLUMN1.all.hide();
Code: Select all
controls.FIELDCOLUMN1.hide();
Code: Select all
controls.FIELDCOLUMN1.hide();
0 x
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Who is online
Users browsing this forum: No registered users and 24 guests