Is it possible to use templates in a databound panelbar?
(gives --> k-template without a matching parent widget found. It can be one of the following: ?^^kendoTreeMap, ?^^kendoMobileListView, ?^^kendoMobileScrollView, ?^^kendoListView, ?^^kendoTreeView )
5 Answers, 1 is accepted
I am afraid that this functionality is currently not supported and the PanelBar widget cannot use templates for rendering when in dataBound mode.
All the configuration options are listed here:
Trying to find a workaround that will work in my case...
Each of the panelbar items consist of a name and a count. (Could probably do some string parsing magic and update the count, but not an ideal solution)
Is there some other way to solve this? Have a function as the text property etc...(I have a property on the databound json containing the count property.)
As I said this is not supported as a built-in feature and we do not have a viable workaround for this scenario. You can submit a feature request in our Feedback portal, so we can consider it for a future release.
I would also like this functionality, just like what has been acheived in the kendo for angular version.
For me, panel bar is useless without this feature.
I am afraid that indeed the template binding in such scenario is not supported. I noticed that you had submitted another ticket on the same matter, where you have posted a code snippet of your usage. This is why, I would suggest you to continue the correspondence in the other thread, in order to avoid duplication.