Page 1 of 1
How to hide a particular field from the children table view?
Posted: 2019-03-02 17:49
by nycwebmaster
Hi,
is there a way to hide a particular field from the children table view but be able to see it from the table view. Please see picture
Re: How to hide a particular field from the children table view?
Posted: 2019-03-02 18:31
by jsetzer
You can use CSS to hide those columns.
Maybe the easiest way is to put something like this into your
hooks/header-extras.php:
Code: Select all
<style>
.YourTableName-YourColumnName {
display: none;
}
</style>
Replace table- and column-name according to your database.
Regards,
Jan
Re: How to hide a particular field from the children table view?
Posted: 2019-03-02 20:31
by nycwebmaster
Hi,
Thanks for the quick response, only thing is that I think that this solution will hide the column from both the table/children view and also from the table view. I want to hide it only when the user is viewing the table/children view.
I want the user to be able to view the field when they are looking at the table in table view.
Re: How to hide a particular field from the children table view?
Posted: 2019-03-02 22:04
by jsetzer
You need to find out the children tab's id and prepend it like:
Code: Select all
#panel-××××××× table-field { ... }
Use your browser's developers tools to get the id.
Regards,
Jan
PS: I remember there was a blog post in AppGini Blog (not forum)
Re: How to hide a particular field from the children table view?
Posted: 2019-03-04 18:07
by nycwebmaster
Hi,
Found it on the Blog thanks so much!