Giter VIP home page Giter VIP logo

Comments (7)

manuquentin avatar manuquentin commented on July 28, 2024

Hello.
Nice idea, we'll add a object type to edit nested object

from ng-admin.

JacerOmri avatar JacerOmri commented on July 28, 2024

maybe a quicker solution would be specifying the property path, like
.addField(new Field('links.facebook')

from ng-admin.

fzaninotto avatar fzaninotto commented on July 28, 2024

Does the new json field fit your needs?

from ng-admin.

alejandr0bovino avatar alejandr0bovino commented on July 28, 2024
nga.field('profile', 'json')

this shows the entire profile field

how can you show only one profile property, eg. "profile.name" ?

from ng-admin.

fzaninotto avatar fzaninotto commented on July 28, 2024

Using an element transformer, as in https://github.com/marmelab/ng-admin/blob/master/doc/API-mapping.md#entry-format

from ng-admin.

alejandr0bovino avatar alejandr0bovino commented on July 28, 2024

Thanks @fzaninotto && ng-admin.

from ng-admin.

cmnstmntmn avatar cmnstmntmn commented on July 28, 2024
"data": [
   {
      "stats": {
          "OPEN": {
                   "count":0
           }
      }
   }
]

you would have:

nga.field('bounce_count').map((v, e) => e.data[0].stats.OPEN.count)

from ng-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.