LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
Bob_Schor

Provide String Array Indicator with "invisible" row and column dividers

Status: Already Implemented

The Table control/indicator already provides this functionality.

Sometimes one has a 2D array of data that one wants to display in nice-looking rows and columns.  The "obvious" way to do this is as a 2D array, but the row and column "dividers" can interfere with the desired "unified" Spreadsheet look.  One solution is to use Array to Spreadsheet String, which creates a single String with a default "tab" separating columns and an "eol" separating rows, but aligning columns becomes very difficult, especially with a non-monospaced font.

 

I'd like to propose a "special" (I don't have a name for it -- maybe SpreadSheet String?) String Array Indicator that behaves like any other Array Indicator except that the "visual separators" between the rows and columns can be made "invisible", possibly by a right-click option.  Now the Front Panel Designer can lay out rows and columns, adjust widths and heights, then make the interior walls vanish so when the user "fills in the blanks", it appears as a nicely aligned series of row and column data.  If the data are strings, the user could even set Right, Center, or Left justification for the standard cell, again simplifying formattting.

 

Bob Schor

6 Comments
RavensFan
Knight of NI

What is the difference between this idea and a table where the gridlines are colored transparent?

Bob_Schor
Knight of NI

Well, array indicators are well-known quantities.  I've not worked with Tables, so I don't have a response.  I originated this Idea based on a LabVIEW Forum User who was trying to use Array to Spreadsheet to organize array data with alignment, and couldn't figure out how to do this (he knows that using a Monospaced Font and padding strings to all be equal length works, but was hoping for a "natural" method that doesn't involve a lot of computing and formatting.

 

RavensFan
Knight of NI

I know that thread.  I participated in it.  For everyone's reference, it is here.  http://forums.ni.com/t5/LabVIEW/How-to-well-aligned-print-a-2D-string-array-to-a-textbox/m-p/3363358

 

Actually, that user didn't know that using a monospaced font with padded spacing would work because 3 days after I told him his font was a problem.  He still had not implemented that solution and was still complaining he couldnt' get things to work.

 

And I had already proposed the transparent gridline table in that original reply 3 days earlier as a more logical solution, and he hadn't tried that either.

AristosQueue (NI)
NI Employee (retired)

I think tables and/or multicolumn listboxes address this request. I'm going to ask R&D to evaluate closing this idea as "already implmented" unless there's strong objection here.

Darren
Proven Zealot
Status changed to: Already Implemented

The Table control/indicator already provides this functionality.

Bob_Schor
Knight of NI

No problems.  I'll just need (myself) to learn more about TablesSmiley Happy

 

Bob Schor