I have a requirement where I need to either display simple text if available otherwise need to show dropdown list in the same column in Kendo Grid. The list items for every row need to bound at runtime and this list item is part of the data source to which grid is bound to.
Kindly help
1 Answer, 1 is accepted
0
Hetali
Telerik team
answered on 29 Apr 2021, 04:02 PM
| edited on 29 Apr 2021, 04:04 PM
Hi Prateek,
To show the text or the dropdown list based on the availability of the text, use the ngIf directive in the CellTemplateDirective of the Kendo UI Grid and accordingly show the text or the DropDownList. For example: