File

src/ui/form/components/item/wrappers/grid/smart-grid.wrapper.component.ts

Extends

AbstractFormItemWrapperComponent

Implements

AfterViewInit

Metadata

Index

Properties
Methods
Inputs

Inputs

config
Type : any

Methods

getGridDataDropHandler
getGridDataDropHandler(layoutValue: string)
Parameters :
Name Type Optional
layoutValue string No
Returns : void

{(ev: SmartDragDropEvent) => void}

getGridReceiveCursor
getGridReceiveCursor(layoutValue: string)
Parameters :
Name Type Optional
layoutValue string No
Returns : string | unknown

{(string | ((ev: SmartDragDropEvent) => string))}

Public detectChanges
detectChanges()
Returns : void

Properties

gridComponent
Type : SmartGridComponent
Decorators :
@ViewChild(SmartGridComponent)
<!--
**************************************************************************
* Copyright © 2006-2026 by Consultingwerk Ltd. ("CW") -                  *
* www.consultingwerk.com and other contributors as listed                *
* below. All Rights Reserved.                                            *
*                                                                        *
*  Software is distributed on an "AS IS", WITHOUT WARRANTY OF ANY        *
*   KIND, either express or implied.                                     *
*                                                                        *
*  Contributors:                                                         *
*                                                                        *
**************************************************************************

--------------------------------------------------------------------------
    File        : smart-grid.wrapper.component.html
    Purpose     : Template for Smart Grid Wrapper.
    Author(s)   : Radu Nicoara
    Created     : Apr 04, 2024
--------------------------------------------------------------------------
-->
<smart-grid
	[smart-instance-name]="config.instanceName"
	[smart-object-name]="config.objectName"
	[smart-virtual-scrolling]="config.virtualScrolling"
	[smart-data-source]="config.dataSource"
	[smart-grid-layout]="config.gridLayout"
	[smart-tableio-source]="config.tableIoSource"
	[smart-export-source]="config.exportSource"
	[smart-report-title-template]="config.reportTitleTemplate"
	[smart-report-footer-template]="config.reportFooterTemplate"
	[smart-show-date-time-zone]="config.showDateTimeZone"
	[smart-auto-select-first-record]="config.autoSelectFirstRecord"
	[disable-text-selection]="config.disableTextSelection"
	[filterable]="config.filterable"
	[ngClass]="config.settings?.classList || []"
	[smart-grid-allow-drop]="config.allowDrop"
	[smart-grid-drop-source]="config.dropSource"
	[smart-grid-allow-drag]="config.allowDrag"
	[smart-grid-drag-receive-cursor]="
		getGridReceiveCursor(config.dragReceiveCursor)
	"
	[smart-grid-drag-handle-iconclass]="config.dragHandleIconClass"
	[smart-grid-data-drop-handler]="
		getGridDataDropHandler(config.dataDropHandler)
	"
	[smart-grid-bind-to-datasource-state]="config.bindToDatasourceState"
	[smart-help-url]="$safeNavigationMigration(config.settings?.helpUrl)"
	[smart-help-text]="$safeNavigationMigration(config.settings?.helpText)"
	[smart-logic-classes]="config.logicClasses"
	[prompt-before-delete]="config.promptBeforeDelete"
	[prompt-before-export]="config.promptBeforeExport"
	[smart-table-ref]="config.tableRef"
	[smart-detail-form]="config.detailForm"
	[smart-default-action-behavior]="config.defaultActionBehavior"
    [smart-double-click-action]="config.doubleClickAction || config.DoubleClickAction"
	[smart-event-handlers]="config.events"
>
</smart-grid>

./smart-grid.wrapper.component.css

/* Host styling to ensure wrapper fills available space in flex layouts */
:host {
    display: block;
    height: 100%;
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""