Hello Team,
I have implemented editTemplate in batch edit mode everything goes fine but unable to access column definition inside editTemplate while using it through ViewChild and assigning through the typescript. In below example not able to find data.colum.field, it can be easily available in column.template mode.
@ViewChild('templateEditDropDown', { static: false }) public templateEditDropDown: NgModel;
NewColumn.template = templateEditDropDown;
HTML
< ng-template #templateEditDropDown let-data>
[control]="data[data.column.field+'_ControlSetting']" [columnName]="data.column.field"
[rowData]="data" [labelcol]="2" [labelvisibility]="false" [inputcol]="8">
< / ng-template >