Skip to content

Latest commit

 

History

History
 
 

browse_multiline_title

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Setting up multi-line column headers

Long column names are not visually appealing in one line. Also they cause a lot of horizontal empty space in the rows. To display more than one line of text in a column header, call setBrowseMultiLine() in a Browse Screen. The column title will automatically wrap over two lines when the width of the column is reduced.

nuBuilder's default

With Multi-line

☛ Paste this JavaScript into your form's Custom Code field

function setBrowseMultiLine() {

    // Increase holder height
    $('#nuActionHolder').css({'height': '40px'});
	
    // Increase title height
    $('.nuBrowseTitle').not('#nuBrowseFooter').css('top', "-20px");
	
}   

if (nuFormType() == 'browse') {
   setBrowseMultiLine();
}