Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to access CRUD AngularJs data in other AngularJs controller in a CRUD view #491

Open
Antikon opened this issue May 14, 2020 · 2 comments
Assignees

Comments

@Antikon
Copy link
Contributor

Antikon commented May 14, 2020

Quite often there is a task to display in a CRUD list view something besides a table. For example, instructions, statistics or timeline (see screenshot).

Crud-controller

It would be desirable to have possibility of both getting and setting AngularJs CRUD data in the table in a bidirectional way.

I think an AngularJs service can help here. The only thing, I don’t really imagine if there are any pitfalls related to security here.

@nadar
Copy link
Contributor

nadar commented May 15, 2020

We could use events in the crud controller? an event when data is loaded, an event when data is updated. and then pass the data to the event.

@nadar nadar self-assigned this May 15, 2020
@Antikon
Copy link
Contributor Author

Antikon commented May 15, 2020

I don’t know what kind of particular implementation would be better. I leave it up to you.
However, I’m sure that we don’t have to give up the possibility of bidirectional data transfer between different controllers on the same page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants