From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-01-2013 08:02 AM
Stupid question time...
How do I display the column names in a table on the front panel? I thought by right clicking on the table would give me a selection to display them.
Solved! Go to Solution.
07-01-2013 08:16 AM
07-01-2013 08:38 AM
Thanks Gerd.
One more thing, is there a way to highlight the entire row when a user clicks on any field anywhere within the table? Basically, what I want is when a user clicks on any cell in the table, I want that row to highlight.
07-01-2013 08:55 AM
Hi Eric,
you can set the cell background color of the "Active cell" (read the help for that property!) with a property node.
To get the clicked cell you can use a method of the table to convert mouse coordinates (given by the event structure) to row/column coordinates!
07-01-2013 10:26 AM
Got it. Using this trick located here, the "Set Cell Value" method wants a value. What do I wire to this? I cannot leave it blank as it is required.
07-01-2013 10:28 AM
07-01-2013 10:43 AM
I apologize. I wasn't very clear. I just wanted to highlight the cell without having to pass a value. The ActiveCell property did the trick. Thanks for all your help.