Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.
Created:
Feb 18, 2022 02:31 PM
| Last Modified: Jun 9, 2023 11:11 AM(2028 views)
Hi. I'm wondering if there's a way to center justify the values in a NumberColBox. I have a GUI and it would help make things more readable to the user if all my columns were center justified. I can center justify strings in a StringColBox using << Set Justify(center), but I see no corresponding option for a NumberColBox. I'm aware I could convert all my numeric values to text and use a StringColBox instead, but I was hoping a more elegant solution might exist.
The Script Editor is the definitive documentation for the messages and options available to the NumberColBox and I do not see a message or option that will set the justification. I have used your stated work around, converting to a string, many times, and find that it works well.
Thanks Jim. I was curious though, how do you convert a vector of numbers to a list of strings? E.g. [1, 2, 3] --> {"1", "2", "3"}. Is there a way to do this without using a for loop?