Navigation From Button in Data Grid
Posted: Wed Apr 23, 2014 6:39 pm
Forum,
I have a Data Grid table that has a large number of columns. I have added a column labeled "Edit" and put in a button in each of the rows.
I would like the user to be able to click on the EDIT button and navigate to a separate Card to do the data entry instead of in the Data Grid.
I did the following in the Edit column Behavior script. It does the navigation, but from that point on all Data Grid functionality Fails. I assume that something in the Data Grid was not cleaned up so you cannot jump to a different card.
I then added a mouseUp function for the Data Grid Table. That will execute, but I don't see a function that can give me what column the user just selected, so I'm unable to determine when the EDIT button is selected. Maybe I'm missing something.
Is there some other way to define a Button in a Table that will take you to a different CARD?
Thanks for the HELP..
d
I have a Data Grid table that has a large number of columns. I have added a column labeled "Edit" and put in a button in each of the rows.
I would like the user to be able to click on the EDIT button and navigate to a separate Card to do the data entry instead of in the Data Grid.
I did the following in the Edit column Behavior script. It does the navigation, but from that point on all Data Grid functionality Fails. I assume that something in the Data Grid was not cleaned up so you cannot jump to a different card.
Code: Select all
on mouseUp pTheButton
if (pTheButton is 1) then
switch the short name of the target
case "Edit"
go to card "EditCard"
break
end switch
end if
end mouseUp
Is there some other way to define a Button in a Table that will take you to a different CARD?
Thanks for the HELP..
d