Page 1 of 1

browse - unable to resize message

PostPosted: Wed Dec 26, 2018 8:00 pm
by ARWEN
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();}