LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TABLE SCROLLBAR OPTION

I'm creating a table with too many columns to bee simultaneously visualized on the screen, so I must insert an horizontal scroollbar, but I'd like to fix the first column while the scrollbar is moved for a more comprensible visualization of the table data.
How can I solve this problem?
0 Kudos
Message 1 of 10
(4,341 Views)

Hi Mattia,

Here is a solution.

But i must admit that even through it does the job, it is not very convincing

I have put a smaller table embedded inside the main table.

The first Column is indexed out and shown on the smaller table.

So can anyone think of a better trick?

Regards

Dev

 

Message Edited by devchander on 12-30-2005 05:51 AM

0 Kudos
Message 2 of 10
(4,326 Views)

Thank you devchender,

but your solution is good only if the table has not the vertical scrollbar: in fact if you have a vertical scrollbar, when you move it, only the rows of the main table scroll down.

0 Kudos
Message 3 of 10
(4,320 Views)
Make the row headers visible (right click>>Visible Items) and it will do what you want. The header index is -1, in case you will need it.

___________________
Try to take over the world!
Message 4 of 10
(4,315 Views)

Thank you TST,

I think it's a good idea, but I don't know how insert my variables into the column headers.

Can you explain me with an exemple?

0 Kudos
Message 5 of 10
(4,311 Views)
This is a problem adressed in ListVIEW. I used two tables, dynamically associated.
Chilly Charly    (aka CC)
Message 6 of 10
(4,312 Views)

Charly, no need for the ListVIEW solution (which is what Dev suggested), since it's only one column.

I can't give you an example, since I'm not near a computer with LV at the moment, but, as I said, the index is -1, so you can use the array VIs to insert or replace the headers by using that index. If I remember correctly, there are also header properties which would be 1D arrays of string.


___________________
Try to take over the world!
0 Kudos
Message 7 of 10
(4,310 Views)
tst
I missed the solution you proposed, because the post behind was refering to the column headers.
Here is a translation of your idea...
 

Message Edité par chilly charly le 12-30-2005 04:11 PM

Chilly Charly    (aka CC)
Message 8 of 10
(4,299 Views)

Hi Mattia,

Hope you have no row header to display in your table.

If you do not, then the latest solution proposed ( one  CC has posted ) is the best option.

Regards

Dev

 

 

0 Kudos
Message 9 of 10
(4,274 Views)

Of course, I have no headers so I'll use this solution that is very good, thanks.

Happy new year!

0 Kudos
Message 10 of 10
(4,270 Views)