SMath Studio Forum
»
SMath Studio
»
Questions
»
Text formatting single cell in table region
  Rank: Advanced Member Groups: Registered
Joined: 02/04/2018(UTC) Posts: 111  Was thanked: 16 time(s) in 15 post(s)
|
What I want to do is have a specific cell in a table with bold text. This particular cell should always be bold and red. It seems that the table region only allows for the formatting on the entire body, header, etc., and not single cells. The best I have been able to do is convert my variable to a string and use the units display trick to make my value display like a unit (blue), instead of black like the rest of the cells. Can something similar be done to make it bold, and red? Hopefully this hasn't been asked and answered. I tried looking through the forum, but didn't find anything that could solve this for me. Thanks for the help. ![2021-09-15 15_10_58-SMath Solver - [Abspasta Concepts Working File (360-faster).sm_].png](/forum/resource.ashx?a=41685&b=2)
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 192   Location: Cali, Colombia Was thanked: 63 time(s) in 47 post(s)
|
Originally Posted by: wb.c  What I want to do is have a specific cell in a table with bold text. This particular cell should always be bold and red. It seems that the table region only allows for the formatting on the entire body, header, etc., and not single cells. The best I have been able to do is convert my variable to a string and use the units display trick to make my value display like a unit (blue), instead of black like the rest of the cells. Can something similar be done to make it bold, and red? Hopefully this hasn't been asked and answered. I tried looking through the forum, but didn't find anything that could solve this for me. Thanks for the help. ![2021-09-15 15_10_58-SMath Solver - [Abspasta Concepts Working File (360-faster).sm_].png](/forum/resource.ashx?a=41685&b=2) An alternative is using formatted colors in a graph.  Please see attached file: TextInColor.sm (11kb) downloaded 11 time(s).
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 988  Was thanked: 406 time(s) in 273 post(s)
|
Originally Posted by: Jean Giraud  What you want is what I reject ... No reconciliation. As design Eng. if I click on Δp, I want to see the all col and clicking on any Δp cell, want to see parent line stuff.
Not related with topic. Totally irrelevant answer.
|
 1 user thanked overlord for this useful post.
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 192   Location: Cali, Colombia Was thanked: 63 time(s) in 47 post(s)
|
Originally Posted by: Jean Giraud  What you want is what I reject ... No reconciliation. As design Eng. if I click on Δp, I want to see the all col and clicking on any Δp cell, want to see parent line stuff. Inst_Colebrook Pipe Data.sm (72kb) downloaded 13 time(s). 
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 02/04/2018(UTC) Posts: 111  Was thanked: 16 time(s) in 15 post(s)
|
Originally Posted by: Jean Giraud  What you want is what I reject ... No reconciliation. As design Eng. if I click on Δp, I want to see the all col and clicking on any Δp cell, want to see parent line stuff. Inst_Colebrook Pipe Data.sm (72kb) downloaded 13 time(s). Huge sigh… Jean, your post on my question has absolutely nothing to do with what I was asking. You have made some useful contributions on other topics, and that’s fine, but if you can’t provide any useful input towards specific questions, then don’t post anything. Stop spamming with off topic input.
|
 2 users thanked wb.c for this useful post.
|
on 16/09/2021(UTC), on 16/09/2021(UTC)
|
|
  Rank: Advanced Member Groups: Registered
Joined: 02/04/2018(UTC) Posts: 111  Was thanked: 16 time(s) in 15 post(s)
|
Originally Posted by: oscampo  An alternative is using formatted colors in a graph.  Please see attached file: TextInColor.sm (11kb) downloaded 11 time(s). Well, this one option, but it’s definitely not very clean looking as compared to the table. Thanks for the input.
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,156  Was thanked: 674 time(s) in 421 post(s)
|
|
 1 user thanked Razonar for this useful post.
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 192   Location: Cali, Colombia Was thanked: 63 time(s) in 47 post(s)
|
Originally Posted by: wb.c  ...
Well, this one option, but it’s definitely not very clean looking as compared to the table. Thanks for the input.
Ok, here is another options...  Please see updated file: TextInColor.sm (21kb) downloaded 10 time(s).
|
 1 user thanked oscampo for this useful post.
|
|
|
 Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,532  Was thanked: 941 time(s) in 769 post(s)
|
Originally Posted by: wb.c  off topic input Deleted
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 02/04/2018(UTC) Posts: 111  Was thanked: 16 time(s) in 15 post(s)
|
Thanks for the input guys. All good ideas. I might end up sticking with what I have already just because it is so much more simple. Working with the Viewer, so trying to keep things light and simple.
|
 1 user thanked wb.c for this useful post.
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Text formatting single cell in table region
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.