Created
June 19, 2023 02:20
-
-
Save BrianMRO/e7078b1fbbc6901da9f819826d62024e to your computer and use it in GitHub Desktop.
2023r1 Modern UI - WO202000.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { autoinject } from 'aurelia-framework'; | |
import { | |
ScreenBaseViewModel, createCollection, graphInfo, commitChanges, BaseViewModel, | |
PXFieldState | |
} from 'client-controls'; | |
@graphInfo({ graphType: 'CMMS.WOMeasurementMaint', primaryView: 'Measurements' }) | |
@autoinject | |
export class WO202000 extends ScreenBaseViewModel { | |
Measurements = createCollection(WOMeasurement, { | |
adjustPageSize: true, initNewRow: true, syncPosition: true, | |
quickFilterFields: ['MeasurementCD'], mergeToolbarWith: "ScreenToolbar" | |
}); | |
} | |
export class WOMeasurement extends BaseViewModel { | |
@commitChanges MeasurementCD: PXFieldState; | |
Descr: PXFieldState; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment