I'd like a discussion about when to use widgets and when to use templates.
I use custom widgets quite a lot in my current (first) KendoUI Web project. And I think it's going well. The widgets do require a bit of boilerplate code, but I think they are straight forward to use and it is nice to have everything, html, bindings and behaviour nicely packaged.
Now I need a detailstemplate in a grid and my first thought was I like to use a widget there aswell. Then I was a bit hesitatious, am I overdoing things? Should I be using templates instead of widgets?
Thanks
I use custom widgets quite a lot in my current (first) KendoUI Web project. And I think it's going well. The widgets do require a bit of boilerplate code, but I think they are straight forward to use and it is nice to have everything, html, bindings and behaviour nicely packaged.
Now I need a detailstemplate in a grid and my first thought was I like to use a widget there aswell. Then I was a bit hesitatious, am I overdoing things? Should I be using templates instead of widgets?
Thanks