Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Subform with no headings Topic is solved
-
- Posts: 22
- Joined: Sun May 08, 2022 2:36 pm
- Has thanked: 9 times
- Been thanked: 1 time
Subform with no headings
Hi, is it possible to set an option on a subform so that the column headings are not shown, please? (I can use a tool tip to provide information on what the data is, and the headings take up quite a lot of space). Many thanks!
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Subform with no headings
Hi,
You will need to do it with JS:
E.g. Parameter: Your subform Id
You will need to do it with JS:
Code: Select all
function nuSubformHideHeader(id) {
const scrollDiv = $('#' + id + 'scrollDiv');
scrollDiv.css({top: 0, height: $('#' + id).cssNumber('height')});
}
Code: Select all
nuSubformHideHeader('accphp');
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Subform with no headings
The function is now on Github with additional improvements so that the Options Menu is transparent and appears only when you hover over it.
-
- Posts: 22
- Joined: Sun May 08, 2022 2:36 pm
- Has thanked: 9 times
- Been thanked: 1 time