Going off this example
https://www.telerik.com/kendo-angular-ui/components/grid/editing/editing-row-click/#preview-2
Im having trouble with inline editing. When I click on a cell, my click handler gets called, but no event information is carried over. Im using the safe-nav operator because the grid wont have data until some other actions happen which results in an api call to fetch data. The grid loads fine, but the $event doesnt seem to get carried into the click handler.
grid:
<kendo-grid [data]="selectedOrder?.lineItems" id="lineItemGrid" [height]="360" (cellClick)="cellClickHandler($event)">
click handler: when this method is hit in the debug console, the parameters are undefined. What can I check to see why?
public cellClickHandler({ isEdited, dataItem, rowIndex }): void { if (isEdited || (this.formGroup && !this.formGroup.valid)) { return; } this.saveCurrent(); this.formGroup = createFormGroup(dataItem); this.editedRowIndex = rowIndex; this.lineItemGrid.editRow(rowIndex);}