Hi! I want to use the kendo grid with remote data binding and the filter menu option [filterable]="menu".
But the filter icon is not displayed!
https://stackblitz.com/edit/angular-cyertp
2 Answers, 1 is accepted
0
Accepted
Dimiter Topalov
Telerik team
answered on 30 Sep 2019, 02:02 PM
Hi Michael,
When property binding syntax - [someInput]="value", the framework is looking to bind the someInput property to a component class field named "value". If you need to provide a string when binding the property in the template, it should be wrapped in another set of single quotes so that the expression on the right-hand side of the equals sign is treated as a string literal - [someValue]="'value'" - now the someInput property will receive the value of the string "value".
To provide string values for template bindings, you can also omit the square brackets from the property name - this way the value on the right-hand side will always implicitly be treated as a string - someInput="value" will have the same effect as [someInput]="'value'".
Further details about Angular template syntax is available in the official Angular documentation:
Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.