Page 1 of 1

Is there a way to remove the Table Name?

Posted: 2021-08-22 19:12
by mohamed
Hello,

Is there a way to remove the Table Name and save the space (top of the table/box of fields) in Detail View using the AppGini Helper JavaScript Library ?

Re: Is there a way to remove the Table Name?

Posted: 2021-08-22 20:37
by jsetzer
I think there isn't, but I can add this feature to next version. I'm just wondering what shall happen to the add-new button

Re: Is there a way to remove the Table Name?

Posted: 2021-08-23 04:44
by mohamed
Jsetzer,

Thanks again, I will stay tuned for it, and for the other tools :)

All the best with your great help ..

Re: Is there a way to remove the Table Name?

Posted: 2021-11-24 07:19
by jsetzer
:!: THIS IS FOR TABLE VIEW

Good morning,

in latest version of AppGini Helper Javascript Library you can use this:

Code: Select all

// file: hooks/TABLENAME-tv.js
jQuery(function () {
    AppGiniHelper.tv.getPageHeader().hide();
});
Known limits

Please note: This will hide the page header but it will not remove the top margin (gap):

chrome_B2BispzfF2.png
chrome_B2BispzfF2.png (128.19 KiB) Viewed 2128 times

If you'd like to hide the whole row including the quicksearch, you can use the following code instead:

Code: Select all

AppGiniHelper.tv.getPageHeader().closest(".page-header").hide();

Re: Is there a way to remove the Table Name?

Posted: 2021-11-24 07:28
by jsetzer
:!: THIS IS FOR DETAIL VIEW

In latest version there is no equivalent method for Detail View but I am going to add it for next version.

So, for Detail View you can try this:

Code: Select all

// file: hooks/TABLENAME-dv.js
jQuery("form[name='myform'] > .page-header").hide();

Re: Is there a way to remove the Table Name?

Posted: 2022-01-08 13:22
by mohamed
Thank you ...