Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9189463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:14:34+00:00 2026-06-17T20:14:34+00:00

Currently kendo-knockout library does not support passing kendo.data.dataSource into bindings. I was able to

  • 0

Currently kendo-knockout library does not support passing kendo.data.dataSource into bindings. I was able to load the treeView with kendo data source using the widget reference sample in the update of my post here: Kendo-Knockout: use knockout view model with kendo datasource to populate kendoTreeView. But was unable to add and remove items to it as well as some other issues.
I am writing this question based on a comment by RP Niemeyer in github:

https://github.com/rniemeyer/knockout-kendo/issues/6

saying that this should be possible if I pass something like data: false, dataSource: yourDataSource and this fiddle:

http://jsfiddle.net/rniemeyer/s5G5k/

Following this example I tried to make an implementation of the treeView:

http://jsfiddle.net/s5G5k/6/

but I am getting an error: Cannot call method 'toLowerCase' of undefined

So my question here is can this work and can I then add/remove objects to the dataSource and see the view updates accordingly? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:14:35+00:00Added an answer on June 17, 2026 at 8:14 pm

    I really need to revisit adding the ability to pass a dataSource directly into the widgets.

    One solution for now is to wrap your treeview in a “with” binding and have it get re-rendered when you add/remove items.

    Maybe like:

    <div data-bind="with: treeView">
        <div id="reportGrid" data-bind="kendoTreeView: { dataSource: treeViewDataSource }"></div>
    </div>
    

    http://jsfiddle.net/rniemeyer/6VZxB/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using RPNiemeyer`s kendo-knockout library. I have a kendo window: HTML: <div data-bind=kendoWindow:
Currently, db4o does not allow indexing on the contents of collections. What object databases
Currently working with converting SQLException error messages into messages that are more useful for
I am using knockout.js with Kendo-UI. I have this grid model: var GridModel =
I am using Kendo UI to bind a datasource to the Kendo Grid. I
I am new to 'Kendo UI for ASP.NET MVC' and am currently using the
I am using a Kendo UI dataviz bar chart. Currently the graph loads when
I'm working on a project that requires Kendo UI. We are currently working with
I have a form that is divided up into a Kendo UI Panel Bar
I am using the Kendo UI ComboBox with an external, XML DataSource. Here's the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.