Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Sample events > Appearance

How to hide the Edit link

Scroll Prev Next More

 

To hide the Edit link when the record status is "processed", use the following code in the List page: After record processed event.

 

Note: Change values in red to match your project settings.

 

if data("status")="processed" then
  pageObject.hideItem "grid_edit", recordId
end if

See also:

About RunnerPage class

JavaScript API: hide()

Event: IsRecordEditable

JavaScript API: makeReadonly()

RunnerPage class: hideItem()