Field name for add row button

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

azaleas
Ebase User
Posts: 81
Joined: Thu Jul 30, 2015 12:44 pm

Field name for add row button

#1

Postby azaleas » Tue Sep 29, 2015 9:35 am

What would be the control name for the built in add row button of the table?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Tue Sep 29, 2015 10:20 am

There isn't one, it's part of the Table Control. What do you want to do to it?
0 x

azaleas
Ebase User
Posts: 81
Joined: Thu Jul 30, 2015 12:44 pm

#3

Postby azaleas » Wed Sep 30, 2015 9:15 am

I wanted to use it as element name for getOwner function. I have a separate script attached to that button, i wanted to remove the script and at it's code to a general script which is run by if clause:

if (event.getOwner.elementName == "sth"){

}
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#4

Postby Jon » Wed Sep 30, 2015 10:42 am

I see. The owner will be the Table Control.
0 x

azaleas
Ebase User
Posts: 81
Joined: Thu Jul 30, 2015 12:44 pm

#5

Postby azaleas » Wed Sep 30, 2015 10:50 am

Yeap. Never mind, I'll just leave the script as it is. Thanks
0 x


Who is online

Users browsing this forum: No registered users and 14 guests