|
<e-column field='ShipCountry' headerText='Ship Country' [edit]='countryParams' [validationRules]='shipCountryRules'></e-column> |
|
ngOnInit(): void {
this.shipCountryRules = { required: true };
} |
|
ngOnInit(): void {
this.countryParams = {
create: () => {
this.countryElem = document.createElement('input');
// Column field name is set as the custom edit dropdown control name
this.countryElem.name = "ShipCountry";
return this.countryElem;
},
.
.
};
} |