06-09-2009 09:46 PM
Hi all This is a simple request.
I have a multicolumn listbox that has an extra column(unused).
I could not delete the last column or initate to the correct number of visible columns.
There's nothing I could do to change it.
Pls advise
Thanks in advance
06-09-2009 10:12 PM
How about using Property Node with NumCols and NumRows selections wired to the desired number of rows and columns.
Those will determine the visible rows and columns. ItemNames input (2D array of strings) determines the actual size of the Multicolumn Listbox.
It is up to you to determine the size by wiring the desired 2S array of strings to this input and using the above two properties to display only rows and columns of interest.
06-09-2009 10:25 PM
Using Num Cols or ItemNames properties do not really remove the last column.
I tried using the contex menu to click on the "delete column" and it does not work.
I wonder why its does not work
Clement
06-09-2009 11:26 PM
Do u want to hide the particular row and column (to change the visiblity of row and column) or do u want to clear the data of the row and colum?
1. To hide the particular row and column use the propety node NumCols,NumRows
2. If u want to clear the Data of the selected row and column then get the item names and replace the data with blank data.
06-10-2009 01:50 AM
For every column you can set the actual width in pixels.
Ton
03-25-2011 08:04 AM
I wish that were the case, but apparently NI believes 0 == 2. A zero-width colum still shows a gap between the two vertical gridlines. Why this has never been fixed I have no clue.
01-10-2012 08:36 AM
I struggled with this for a while too. I finally determined that if I manually entered data into a cell in the column (not the header row) to be deleted, then right-click/delete column would work.