how to bind knockout and kendo grid ?

Nalajala Ganesh 1 Reputation point
2022-01-30T14:56:48.48+00:00

Please take below example
Create one form with following fileds and Click on Add button data should add in Kendo Grid.
1.First Name, Last Name.- Validation-Should Accept Only Character /Mandatory Field
2.Date Of Birth-Validation-Should Accept Only Date /Mandatory Field
3.Mobile No -Validation-Should Accept Only Numbers with max 10 /Mandatory Field
4.Description - Non-Mandatory Field
5.Gender -Mandatory Field
6.Added Data Should Filter with First Name ,Last Name And Mobile Number
7.Apply pagination Per page 5 record Should Display

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,494 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 65,576 Reputation points
    2022-02-08T21:16:27.54+00:00

    knockout.js is two way binding library. it implements an observable model, and binding to html elements to implement the MVVM pattern

    kendo grid is jquery component with builtin ajax support and its own observable model to implement the MVVM pattern.

    not sure why you want both. but the easiest to write a subscription from the observable model of record, that updates shadow model. that is if you decide the knockout model is the true source, then subscribe to its changes, and update the kendo model.

    you could also probably write a custom transport for the kendo grid that accessed the knockout model directly.

    0 comments No comments

  2. sipan1313 1 Reputation point
    2022-02-10T12:31:38.873+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.