Skip to content

MobileCRM.UI._DetailView.startEditItem

rescocrm edited this page May 15, 2023 · 9 revisions

[v9.2] Starts editing the detail item and sets the focus on it.

Arguments

Argument Type Description
index Number Selected item index.

This example demonstrates how to focus specific item (with index 1) and initiate its editing.

MobileCRM.UI.EntityForm.requestObject(function (entityForm) {
	/// <param name='entityForm' type='MobileCRM.UI.EntityForm'/>
	var detailView = entityForm.getDetailView("General");
	detailView.startEditItem(1);
}, MobileCRM.bridge.alert, null);
Clone this wiki locally