Questions tagged [komapping]

It is the knockout js plugin which can be used like utility plugin.

It is the knockout plugin which helps us to convert javascript objects from the various source like data services to the observable. More details about the plugin is available here

3 questions
0
votes
3 answers

How to fix "ReferenceError: index is not defined" problem

I try to connect my REST server with JavaScript app. Using ajax query I get proper JSON, but I cannot bind it to my HTML website. I use data-bind in HTML:
Kate
  • 3
  • 1
  • 3
0
votes
0 answers

ko.mapping plugin - Waiting for ajax call to succeed

I have a nested json i eventually broke down to use with ko.mapping: { users: [ { k: 'key', name: 'Alice' }, ], roles: [ { k: 'key', name: 'Standard', regex: [ ( 'root', 'me',…
0
votes
1 answer

komapping fromjs exclude property from converting into observable inside elements of array

I am trying to perform conversion of property to observable with the use of komapping plugin. I do have array of same kind of objects like below: var data =[{ b1: "v1", b2: "b21" }, { b1: "v2", b2: "b22" }] ; Now I wanted to property b1 as if and…
Jenish Rabadiya
  • 6,708
  • 6
  • 33
  • 62