Editing the Header of Multicolumn Listbox Control While VI is Running

Updated May 10, 2018

Reported In


  • LabVIEW

Issue Details

Can I edit the header of multicolumn listbox while the VI is running?

Currently I am using both the Allow Editing Cells and Edit Position property node to have the text entry cursor set on the index of the cell that I click. It is working well on the cells, but when I click on the header, the text entry cursor appears on the cell below the header instead. I have tried to search through the online resources and found that this seems to be a known bug, do you have solutions for this?


The coordinate of header cell is -1 for the row index. However, when the input value of Edit Position property node is -1, the property node will use default value 0 instead.

The current workaround is to create a case structure to handle the row index of -1. An example code below will prompt a dialog box that requires user to key in the header name whenever the header cell is clicked. The new header value is inserted to the array of current header list and the listbox is subsequently updated by passing the header array to Column Header Strings[] property node.


Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.


Not Helpful