Hi,
I have a requirement to show a grid on one part of the page and a form allowing the user to edit the selected row on another portion of the page. Something like this:
The grid itself is bound to an DataManager using an ODataV4Adaptor:
<ejs-grid id="headerList" #headerList
[dataSource]="caseNotesData"
[query]="query"
>...columns...</ejs-grid>
ngOnInit() {
this.caseNotesData = new DataManager({ url: this.apiService.odataUrl + '/CaseNotes', adaptor: new ODataV4Adaptor() });
this.query = new Query().expand('Coordinator');
}
Is there a property on the grid I can bind the form elements to or do I need to set an object's value on the grid's OnSelected event?
Also, I'd like to leverage the grid's ability to save using the OData adaptor so getting those form values back into the grid and having the grid manage persistence would be helpful. Can this be done?
Thanks!