Table supports deleting rows

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

GTEM19889
Ebase User
Posts: 3
Joined: Tue Jun 09, 2009 7:36 am

Table supports deleting rows

#1

Postby GTEM19889 » Wed Aug 12, 2009 4:01 pm

I am using a table that supports deleting rows, however when entering the page in view only mode later, I do not want the delete row to eb viewable.

How can I use FPL script to disable this feature in the table?
0 x

User avatar
Joost
Ebase User
Posts: 49
Joined: Fri Sep 14, 2007 6:14 pm
Location: The Netherlands

Re: Table supports deleting rows

#2

Postby Joost » Tue Aug 18, 2009 7:36 am

GTEM19889 wrote:in view only mode later, I do not want the delete row to eb viewable
set table [ ON PAGENAME ] TABLENAME.supportsDeleteRow = false;

http://portal.ebasetech.com/cp/doc/scri ... c193606895

You could also create another table for viewing only and use the copytable command to copy the data from the editable to the view-only table. Using show/hide you switch between those two.
0 x


Who is online

Users browsing this forum: No registered users and 109 guests