MobileCRM.UI._DetailItem - Resconet/JSBridge GitHub Wiki
Represents the Javascript equivalent of detail item which is controlling the field editing.
Property | Type | Description |
---|---|---|
dataMember | String | Gets or sets the item data binding. |
errorMessage | String | Gets or sets the item error message displayed during validation. |
isEnabled | Boolean | Gets or sets whether the item is editable. |
isNullable | Boolean | Gets or sets whether the item value can be "null". |
isVisible | Boolean | Gets or sets whether the item is visible. |
label | String | Gets or sets the item label. |
name | String | Gets or sets the item name. |
validate | Boolean | Gets or sets whether the item needs validation. |
isPassword (text items only) | Boolean | Gets or sets whether the text value should be masked. Used for password entry. |
kind (text items only) | Number | Gets or sets the value kind (0 for Text, 1 for Email, 2 for Url, 3 for Phone). |
maxLength (text items only) | Number | Gets to sets the maximum text length. |
numberOfLines (text items only) | Number | Number of lines to display. Default is one. |
value (text items only) | String | Gets or sets the bound item value. |
decimalPlaces (numeric items only) | Number | Gets or sets the number of decimal places. |
displayFormat (numeric items only) | String | |
increment (numeric items only) | Number | Gets or sets the increment (if the Up/Down control is visible). |
maximum (numeric items only) | Number | Gets or sets the maximum allowed value. |
minimum (numeric items only) | Number | Gets or sets the minimum allowed value. |
upDownVisible (numeric items only) | Boolean | Gets or sets whether the up/down control is visible. |
value (numeric items only) | Number | Gets or sets the bound item value. |
textChecked (boolean items only) | String | Gets or sets the text for checked state. |
textUnchecked (boolean items only) | String | Gets or sets the text for unchecked state. |
value (boolean items only) | Boolean | Gets or sets the bound item value. |
parts (DateTime items only) | Number | Gets or sets whether to display and edit the date, time or both (0=both, 1=date only, 2=time only). |
value (DateTime items only) | Date | Gets or sets the bound item value. |
value (Duration items only) | Number | Gets or sets the bound item value (duration in minutes). |
displayMember (OptionSet items only) | String | Gets or sets the name of the property whose value is used as the label of an option. |
value (OptionSet items only) | Number | Gets or sets the bound item value (selected value). |
valueMember (OptionSet items only) | String | Gets or sets the name of the property whose value is used as the value of an option. Set "null" to use the option object as the value. |
isMultiline (Link items only) | Boolean | Gets or sets whether the item is multiline. Default is false. |
value (Link items only) | MobileCRM.Reference | Gets or sets the bound item value (a MobileCRM.Reference object or "null"). |