Current Position:Home > Datatable info Via Buttons

Datatable info Via Buttons

Update:11-30Source: network consolidation
I am using Lookout 4.5.
I have 300 buttons on my program. I want each button to reference a row of
my excel spreadsheet. I know how to set up a DataTable and I know how the
cursor member works. What I can't seem to manage (in a simple way) is.....
Button 1 moves the table cursor to Row 1
Button 2 moves the table cursor to Row 2
Button 3 moves the table cursor to Row 3

The Best Answer

Hi Otto,
It's a good trick but won't work in this case.. 'cos once you release the
PushButton, the Expression will go back to 0.. making the cursor go back
to 1 (the first row).
So, like Loren points out, "each
button needs to latch... then unlatch via a "cancel"... and/or unlatch via
"done"... etc.. etc.."
By the way, do any of you use LabVIEW as well? I have written a small VI
which will generate LKS files with such repetitive connections, incrementing
the Object numbers, etc. Comes in pretty handy at times
"otto" wrote:
Another faster possibility than the nested if statement is cursor=pb1*1+pb2*2+pb3*3+...
the easiest way to generate the expression is to use notepad, use the search
and replace command and paste the whole thing back into the editfield. Better
still use excel to generate the list. Takes about 2 mins. Just to show you...
  • Datatable info Via Buttons Update:11-30

    I am using Lookout 4.5. I have 300 buttons on my program. I want each button to reference a row of my excel spreadsheet. I know how to set up a DataTable and I know how the cursor member works. What I can't seem to manage (in a simple way) is..... Bu

  • Button don't work in datatable Update:10-11

    Hello, this a strangely problem. I put a button with actionlistener in a datatable, but this button don't work after i click it. The button outside the datatable works fine. I use ObjectListDataProvider in this datatable. I have tested ObjectArrayDat

  • No Button in a specific JSP page fires event.. Update:11-30

    hi I desperately need help in following thing. I wanted to sort a datatable by command links in headers but those were not firing events so i used teh buttons instead. They kept on working fine but now something weird has happened. Neither the button

  • Image in Buttons Update:11-30

    Hi, I'm trying to change the image of a button, im working with datatables in Java Studio Creator. The things is that when my user click a button it have to change the image of the button that was clicked and the others dont have to change. Just one

  • Calling actions from dataTable Update:11-30

    I have a dataTable that contains buttons and some information. When the user clicks one of the buttons I set a hidden form field with the Id of the one that was clicked and call an action. The collection that was used to build the table was in the re

  • Change field value in a table, based on another field value in the same row (for each added row) Update:10-11

    Please Help, I want to change field value in a table, based on another field value in the same row (for each added row) I am using this code : <HTML> <HEAD> <SCRIPT> function addRow(tableID) { var table = document.getElementById(tableID)

  • Could anyone tell me where is the error in this code Update:11-30

    <html xmlns=""> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head>   <script type="tex

  • How to call action method on commandLink/commandButton Update:11-30

    Faces 1.1 from WebLogic 9.2.2, RichFaces 3.1.3. I'm still getting up to speed with JSF. I'm experimenting with a datatable with "Add" buttons on each row, to give me a new row after the current row (ignoring the problem with inserting at top for

  • UIComponent Update:11-30

    Hi there! I belive it's a very simple question: I have a datatable like this: | Mon | | Tue | | Wed | | Thu | | Fri | | Sat | | Sun | | Delete Project1 | 0:00 | | 0:00 | | 0:00 | | 0:00 | | 0:00 | | 0:00 | | 0:00 | | X Project2 | 0:00 | | 0:00 | | 0:

  • Problem with buttons in datatable header Update:10-11

    Hi I have command buttons in the datatable header .When I display the data in columns there is a gap between buttons .I want the buttons should be stretched automatically along with column data there should not be no gap between buttons regardless ho