These properties depend on the values of other properties and therefore cannot be typed (columns[].editorOptions in the DataGrid, item's editorOptions in the Form, items[].options in the Toolbar). We will use [(ngModel)] in HTML element where we set a specific element property and listen for an element change event . follow bellow step for keypress event in angular. src/app/app.component.tsif(typeof ez_ad_units!='undefined'){ez_ad_units.push([[300,250],'itsolutionstuff_com-medrectangle-4','ezslot_6',155,'0','0'])};__ez_fad_position('div-gpt-ad-itsolutionstuff_com-medrectangle-4-0'); import { Component } from '@angular/core'; import { FormBuilder, FormGroup, FormControl, Validators} from '@angular/forms'; I'm a full-stack developer, entrepreneur and owner of Aatman Infotech. This approach backfires when you try to pass functions to UI component properties that do not accept them. In angularjs ng-change event is supported by ,