MobileCRM.UI._DetailView - Resconet/JSBridge GitHub Wiki

MobileCRM.UI._DetailView Object

Represents the Javascript equivalent of detail view with set of items responsible for fields editing.

Properties

Property Type Description
isDirty Boolean Indicates whether the value of an item has been modified.
isEnabled Boolean Gets or sets whether the all items are enabled or disabled.
isVisible Boolean Gets or sets whether the view is visible.
items Array An array of MobileCRM.UI._DetailItem objects
name String Gets the name of the view

Methods

Method Description
addItemToGrid [since 13.1] Add detail item to desired position in to grid.
getItemByName Returns the MobileCRM.UI._DetailItem with specified name or "null".
getItemIndex Returns index of MobileCRM.UI._DetailItem with specified name or -1.
insertItem [v8.0] Inserts the MobileCRM.UI.DetailViewItems.Item into this detailed view.
insertItems [v8.0] Inserts the MobileCRM.UI.DetailViewItems.Item into this detailed view.
registerClickHandler [v8.0] Installs the handler which has to be called when user clicks on the link item.
removeItem [v8.0] Removes the item from this detailed view.
removeItems [v8.0] Removes all items from this detailed view.
startEditItem [v9.2] Starts editing the detail item and sets the focus on it.
updateComboItemDataSource [v9.1] Changes the data source for CombobBoxitem MobileCRM.UI.DetailViewItems.ComboBoxItem.
updateLinkItemViews [v10.1] Changes the ComboBoxItem views and/or filters.
⚠️ **GitHub.com Fallback** ⚠️