pepbr

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: Grid with local array of custom objects #99941
    pepbr
    Participant

    Hi Pradeep.

    I forgot to mention I am trying to find a way to do this without adding row by row. I found a way that is working for me so far and this involves transforming by object back to Json. I wonder if there's a way to map the columns to some data.

    Here is what I did:

    I am using this library to convert my object back to Json:

    https://github.com/douglascrockford/JSON-js/blob/master/json2.js

    Then I had to add a prototype to my objecy like this (right now I am using just a few fields and not diggin into other objects in my object):

    Vehicle.prototype.toJSON = function (key) {

Viewing 1 replies (of 1 total)

Stay connected with us in your favorite flavor!