Open szdezso opened 1 month ago
Stations grid column model:
export class StationDescriptor {
field: string;
header: string;
show: boolean;
type: string;
required: boolean;
}
Users grid column model:
export interface ColumnModel {
field?: string;
header?: string;
show?: boolean;
type?: string;
required?: boolean;
disabled?: boolean;
checkEnableCondition?: (fieldValue?: any) => boolean;
}
Both is FE only, locally initialized column model lists for the properties of the DTOs, the list of column models doesn't come from BE.
For Transactions UI.
Transactions grid column model:
export interface ItemDef {
label: string;
defaultValue?: string;
objectKey: string;
colKey: string;
type?: string;
}
Backend sends an array of strings as the names of the columns that can be shown.
AC-01 Check the Axegaz Admin UI how get and store teh Transaction column definitions. In 1 hour. https://github.com/AdministratorSkillTechApp/AxeCardFrontEnd
https://github.com/AdministratorSkillTechApp/AxeGazMobileForDriverWebApp