browse - unable to resize message

Questions related to using nuBuilder Forte.

browse - unable to resize message

Postby ARWEN » Wed Dec 26, 2018 8:00 pm

Hi,

nu_set_column_widths() outputs 'Unable to resize columns. The number of columns provided for the array do not match with the number of columns in the browse form'
if the width of the last browse column is 0.

This is because of this code

Code: Select all
if(w[w.length-1] == 0){w.pop();}


in nuAddBrowseListeners()

Then
Code: Select all
(nu_array_matches_columns(array_col_widths)){
will result in false and the message 'Unable to...' is shown.

What is the purpose of?
Code: Select all
if(w[w.length-1] == 0){w.pop();}
ARWEN
 
Posts: 53
Joined: Thu Nov 01, 2018 2:31 pm

Return to General