How to hide a particular field from the children table view?

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
nycwebmaster
Veteran Member
Posts: 90
Joined: 2015-11-23 01:02

How to hide a particular field from the children table view?

Post by nycwebmaster » 2019-03-02 17:49

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


Image

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: How to hide a particular field from the children table view?

Post by jsetzer » 2019-03-02 18:31

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
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

nycwebmaster
Veteran Member
Posts: 90
Joined: 2015-11-23 01:02

Re: How to hide a particular field from the children table view?

Post by nycwebmaster » 2019-03-02 20:31

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.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: How to hide a particular field from the children table view?

Post by jsetzer » 2019-03-02 22:04

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)
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

nycwebmaster
Veteran Member
Posts: 90
Joined: 2015-11-23 01:02

Re: How to hide a particular field from the children table view?

Post by nycwebmaster » 2019-03-04 18:07

Hi,

Found it on the Blog thanks so much!

Post Reply