Nota
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tidħol jew tibdel id-direttorji.
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tibdel id-direttorji.
Provides access to all the information about the table forms.
Available for
Model-driven apps
Properties
createFromEntity
Designates a record that provides default values based on mapped column value. The lookup object has following properties: id, name, and entityType.
Type: LookupValue
entityId
Unique ID of the table record to display the form for.
Type: string
entityName
Logical name of the table to display the form for.
Type: string
formId
ID of the form instance to be displayed.
Type: string
height
Height of the form window to be displayed in pixels.
Type: number
openInNewWindow
Whether to display the form in new window.
Type: boolean
useQuickCreateForm
Whether to open a quick create form. The default value is false.
Type: boolean
width
Width of the form window to be displayed in pixels.
Type: boolean
windowPosition
Specifies the window position on the screen.
Type: number
The windowPosition value is a number with the following possible values:
| Value | Position |
|---|---|
| 1 | Center |
| 2 | Side |
Example
private onRowClick(event: Event): void {
let rowRecordId = (event.currentTarget as HTMLTableRowElement).getAttribute(
RowRecordId
);
if (rowRecordId) {
let entityreference = this.contextObj.parameters.simpleTableGrid.records[
rowRecordId
].getNamedReference();
let entityFormOptions = {
entityName: entityreference.entityType!,
entityId: entityreference.id
};
this.contextObj.navigation.openForm(entityFormOptions);
}
}
Related articles
Power Apps component framework API reference
Power Apps component framework overview