Hi,
Generally add Dropdownlist in grid for inline editing.
Can I add ComboBox instead of Dropdownlist.
Actual reason of requirement of ComboBox in inline editing is as following:
1. I can filter the list as I type which is not possible with Dropdownlist
2. I can fetch the data and render the list items as user type.
Exmple:
HTML
<!-- Select Drop Down List - Manufacturer -->
<
kendo-textbox-container
style
=
"text-align: left;"
>
<
kendo-label
text
=
"Manufacturer"
>
<
kendo-combobox
formControlName
=
"manufacturerId"
[data]="ddlManufacturerId | async" [textField]="'name'"
[valueField]="'id'" [valuePrimitive]="true" [filterable]="true"
(filterChange)="onSearchManufacturerId($event)" required>
</
kendo-combobox
>
</
kendo-label
>
</
kendo-textbox-container
>
<!-- Select Drop Down List - Manufacturer -->
Typescript:
onSearchManufacturerId (value) {
const pSearch: ACSelectModel = {
SearchText: value,
SearchColumn:
'Manufacturer'
,
TableName:
'vwTXManufacturerList'
,
DisplayColumns:
'Manufacturer'
,
IndexColumn:
'MTXManufacturerId'
,
WhereClause:
'CompanyId='
+
this
.auth.getLoggedInCompanyId(),
OrderByClause:
'name'
,
IsNoneRecordRequired:
true
};
this
.ddlManufacturerId =
this
.mySelect.acSelect(pSearch).pipe(
map((results: SelectModel[]) => {
return
results;
})
);
}
Definitely "kendo-textbox-container" and "kendo-label" I'm not going to use in grid but just running sample code I attached here for reference.
I hope my requirement is clear.