addTableCommandInput Column Color

addTableCommandInput Column Color

ebunn3
Advocate Advocate
368 Views
2 Replies
Message 1 of 3

addTableCommandInput Column Color

ebunn3
Advocate
Advocate

Hi all,

 

Is there a way to assign a color to a column in a table command input?  I know you can use the formatted text property to assign a background color to the text but the results are not what I wanted.   See below.  I'm looking for a solid column color.  Working in Python, thanks.

 

ebunn3_3-1651072395924.png

 

Eric

 

 
 

 

 

0 Likes
369 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor

It's not possible. The TableCommandInput is a way to organize command inputs and doesn't support many capabilities beyond that. The other alternative when you need more than what a command dialog supports is to use a palette and define your UI using HTML.  This provides a lot of flexibility but also has its own challenges because it's not as tightly integrated with Fusion and you have to do more work to bridge the HTML and your add-in.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes
Message 3 of 3

ebunn3
Advocate
Advocate
Thanks Brian.

Eric
0 Likes