Questions tagged [ng-admin]

An AngularJS admin GUI for any RESTful API

An AngularJS admin GUI for any RESTful API: https://github.com/marmelab/ng-admin

110 questions
1
vote
1 answer

How to paginate with django-rest-framework and ng-admin

Sorry if it is a silly question since it is covered in the documentation, but I can't make it work (I am new to AngularJS). I am trying to write an interface to my database using ng-admin on top of a django-rest-framework. The problem is that the…
1
vote
0 answers

'global' is undefined in ng-admin when compiling with webpack

I am new to webpack, and I am trying to migrate our project from rails assets pipeline to Webpack. When precompiling ng-admin.min.js with webpack, I am getting error that Cannot set property 'rangy' of undefined in the line global.rangy =…
vaishali
  • 312
  • 1
  • 8
1
vote
1 answer

How to prevent reloading of whole ng-admin after refresh page

I've stucked on problem with refreshing pages. Example: base app opens and url is localhost:8000/dashboard, then i go to users tab from menu or anywhere else and url is localhost:8000/users/list. If i refresh page while on users then it will go to…
1
vote
0 answers

passing default values when creating new record

the following URL is called on our application to add a new subscription record. http://example.com/Subscriptions/create?defaultValues={"login_id":1234} Part of the creationView code is the…
1
vote
0 answers

NGAdmin don't load some APIRest requests (Symfony)

I'm using NGAdmin with Symfony and I have created a RESTful API to work whith it. It works fine, but when I have to load a list or a create/edit form that has a field whith relationships, it doesn,t load some of this relations. It's completely…
Brjtr
  • 157
  • 4
  • 17
1
vote
0 answers

In ng-admin: Add editionView to entity without a listView

Say, you want to edit a singleton, then you do not have a list of objects and hence it would be useful to only offer an editionView, but no listView for an ng-admin entity. For instance as: var admin = nga.application("Dashboard"); …
jrief
  • 1,516
  • 13
  • 9
1
vote
0 answers

ng-admin Client Side Search Filter

Is there a way to implement a client side search filter? .filters([ nga.field('q', 'template') .label('') .pinned(true) .template('
Kbi
  • 384
  • 2
  • 16
1
vote
1 answer

Automatically refresh fields

Is there a way in ng-admin to refresh values (content of the fields) without refreshing the entire page? For example, if there was a REST API that returns a value that changes over time (e.g. amount of requests in a queue). How could I create an…
Petr Gotthard
  • 343
  • 4
  • 11
1
vote
1 answer

NG Admin targetEntity Relationship limited by pagination

I have a targetEntity defined for a relationship in my creation view on my User entity, however when the list loads the entities, the api call is including the default paging, so the list is not complete. nga.field('CompanyId', 'reference') …
Rich Linnell
  • 973
  • 5
  • 14
1
vote
0 answers

Testing single page application

I am conceiving an SPA with the following tools: Rest backend: Symfony + FosRestBundle + JMSSerializerBundle. Front admin panel: ng-admin + angular. My question: how to test an SPA, is there a specific workflow? Do I have to use selenium or just…
1
vote
0 answers

How to build ng-admin?

I have to use functions which are only in Master yet (like onSubmitSuccess or onSubmitError) and I couldn't find information on how to build ng-admin from source. I'm not proficient in JS tools, please give me example.
1
vote
1 answer

Concatenate two fields in a ListView ng-admin

I have a listview with a few fields, two of the fields are firstName, lastName. I would like to display Name as a header and concatenate firstName and lastName. How can I go about doing this?
Chirdeep Tomar
  • 4,281
  • 8
  • 37
  • 66
1
vote
0 answers

Custon api request in ng-admin

I need to customize GET and PUT request for the field in Edition view. For example I have two entities in my app: 'Companies' api/v1/companies and 'Journals' api/v1/journals. In Edition view for 'Journals' api/v1/journals/1/edit one of the field…
1
vote
1 answer

How to change delete method to post method in ng-admin?

I want to change deleteMethod to POST method in ng-admin. For changing createMethod from POST to PUT method I used: user.createMethod('put'); I want to delete to post method. user.deleteMethod('post'); The above is not working. Please help me.
Ravi Kadia
  • 275
  • 1
  • 2
  • 9
1
vote
1 answer

ng-admin file uploadInformation get entity id

In ng-admin edit view I need to change file upload url with id as below , but I don't know how to fetch id of selected entity in uploadInformation base url like {{entry.values.id}} , below is my code : files.editionView() .title('Edit…
apurv
  • 71
  • 2
  • 12