kendo-labs / knockout-kendo

A project to create a robust set of Knockout.js bindings for the Kendo UI widgets.
http://kendo-labs.github.com/knockout-kendo/
273 stars 144 forks source link

Should be able to use KO templates inside of grid/listview #4

Closed rniemeyer closed 11 years ago

rniemeyer commented 12 years ago

The bindings should support using normal Knockout templates inside of the Kendo widgets. In this case, we need the actual observables to be made available to the bindings, rather than the unwrapped values that are currently being passed in.

Work on this is being done in the data-bound-templates branch. Early sample: http://jsfiddle.net/rniemeyer/xBL2B/

OV2012 commented 11 years ago

sorry. do you have any plans to merge this feature into the main branch? it would be really really helpful! thanks ! viktor

rniemeyer commented 11 years ago

@OV2012 - I really want to take a fresh look at this soon and see if there is a way to add something like this in without breaking the existing behavior.

OV2012 commented 11 years ago

yes.and let me thank you in advance for taking the time for this. your library is really useful!! thanks!

zserbest commented 11 years ago

Hi Ryan,

When using rowTemplate in "data-bound-templates" branch, grid grouping gives "Uncaught TypeError: Cannot read property 'length' of undefined" javascript error. I could not find any workaround to use ko & kendo-grid. Do you have a plan to merge this branch to the main?

Thank you for all your effort.

rniemeyer commented 11 years ago

@OV2012 changes are in to support row templates for grids. Looks like: http://jsfiddle.net/rniemeyer/eSBea/

@zserbest - can you try the latest build (from master) and let me know if you are still having problems

OV2012 commented 11 years ago

i have upgraded to the latest version (0.5.0) and it works perfect now!

thank you very much, and Merry Christmas!!!