LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Table contents goes out of view

I have a table that is 5 x 5. I have turned off selection scrolling so the table will not move. When I go to the 5th row and hit enter, the table advances so that I can no longer see my first row. Since I don't have scrollbars, I can't get back to row 1. How do I lock down so it can't do this (I am using 6.1)
0 Kudos
Message 1 of 4
(2,737 Views)
Similar to your other problem with the right-click, you can use a filter event that ignores pressing of the "Enter" key inside the table. The attached example does both.
0 Kudos
Message 2 of 4
(2,737 Views)
Thanks. I tried it and works great in your VI but in my VI, makes things very slow to type in. I probably have done some dumb things in setting up the VI that makes using this event handler not work so well. Reworking entire VI structure to fix is not an option right now.

Is there any other ways to do it? Would like to detect if somebody has done that enter and then make the table display in the original position but it is putting the table back in original position that I can't seem to do.
0 Kudos
Message 3 of 4
(2,737 Views)
I'm curious about your slowdown. How many other even structures do you have in the same VI? What is your OS?

You Could just simply reset the table dimension using a property node with the following three items:

* Cluster of [0,0] --> Index Values (sets upper left visible cell as cell 0,0)
* constant of 5 --> Number of colums
* constant of 5 --> Number of Rows
0 Kudos
Message 4 of 4
(2,737 Views)