LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

coloring table on row/column dependent mode

hi all forumers.
I ve got a table wich is filled line per line
Each new line is inserted on top of table, and colored according to values of each cells.
When a new line is inserted, all previous lines are pushed down.
I wish colors could also be push down automaticaly, to be associated with the same cells.
Anyone know if it is possible?
(i m using LV6.1)
Thanks and congratulations to this very active forum, that is often very usefull.
0 Kudos
Message 1 of 3
(2,747 Views)
I have been hesitating to answer because answers that start with "NO" are not very usefull. Well here goes.

No, the colors can not be slid down automatically.

If you are inserting the new lines at the top because you want to have the new entry visable, this can be done by inserting at the bottom.

The "index values" property will let you scroll the table to keep the last row visable after each row is added to the table.

If this acceptable, you will only have to update the colors for the cells in the row you are adding, but you would have to do this for adding at the top so no difference there.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 3
(2,747 Views)
Hey,that's a good idea. 🙂
For now, i've done it with a 2D array that contains colors for the whole table; but it needs to be entirely colored for each new insertion.
My table needs to scroll down and not up, but i ll explore your way.
Thanks for the tip.

David
0 Kudos
Message 3 of 3
(2,747 Views)