I am using Inline Editing using the toolbar with 'Add' 'Edit' 'Delete' 'Update'. This datasource for the grid is a using a service that responds with a list of objects based on a model.
The grid view includes accountName, userName and userPassword. And I am using
(actionBegin)='actionBegin($event)'
When I 'add' a new item in the args response it does not return a new 'CredentialDto' item for the datasource but only returns only the items in the grid view. I thought args.data should be the items in the grid view but expected args.rowData should be a new instance of the 'CredentialDto' containing all the items from the model
I am new to using this component so I may misunderstand how this should work. The goal is to get a new grid item based on CredentialDto.
export interface CredentialDto {
id: string,
accountNumber: string,
userName: string,
userPassword: string,
accountName?: string,
created_at?: string
updated_at?: string
deleted_at?: string
}