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"].ToString() == "processed")
{
pageObject.hideItem("grid_edit", recordId);
}

See also:

•About RunnerPage class

•JavaScript API: hide()

•Event: IsRecordEditable

•JavaScript API: makeReadonly()

•RunnerPage class: hideItem()