This is a migrated thread and some comments may be shown as answers.

Custom Javascript Date Picker inside Kendo Grid(EditorTemplate???) with Inline Editing

1 Answer 172 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mark baer
Top achievements
Rank 1
mark baer asked on 26 Nov 2013, 11:34 PM
We have a custom JQuery/Kendo Date Picker built out of Javascript(not HTML)...We are trying to use in a Kendo Grid(inline Editing).  Having a few different problems, mainly getting the data back to the appropriate column/field.  Trying to see if anybody has done something like this successfully.  We've seen Editor Template Examples, but mainly with Serverside HTML/Razor code.  Our Date Picker is pure javascript...(uses Kendo Date Picker though)...

Any examples/suggestions would be greatly appreciated.

Thanks

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 28 Nov 2013, 12:59 PM
Hello,

To update the model when using a custom widget you need to:
  1. Implement a value method that sets the value if a parameter is passed and returns the current value if no parameters are passed.
  2. trigger the widget change event when the value is changed.

Regards,
Daniel
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
mark baer
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or