Page 1 of 1

Subform with no headings

Posted: Tue Feb 28, 2023 6:11 am
by incoherence
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!

Re: Subform with no headings

Posted: Tue Feb 28, 2023 7:02 am
by kev1n
Hi,

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')});
}
E.g. Parameter: Your subform Id

Code: Select all

nuSubformHideHeader('accphp');

Re: Subform with no headings

Posted: Fri Mar 03, 2023 9:46 am
by kev1n
The function is now on Github with additional improvements so that the Options Menu is transparent and appears only when you hover over it.

Re: Subform with no headings

Posted: Tue Mar 07, 2023 2:32 pm
by incoherence
Works like a charm - thanks kev1n!