catalogicsoftware / ngx-dynamic-dashboard-framework

This is a JSON driven angular x based dashboard framework that is inspired by JIRA's dashboard implementation and https://github.com/raulgomis/angular-dashboard-framework
MIT License
187 stars 95 forks source link

Minimize the use of session/local storage while creating board #18

Closed 9561690684 closed 5 years ago

9561690684 commented 5 years ago

In this project we are using local and session storage to get render the boards/widget etc. Is there any way to transfer control to developer?

jayhamilton commented 5 years ago

feeding in the board's data structure programmatically as input is definitely doable. At some point I actually wrote the code to do that. All you need to do is create an @input property on the GridComponent and associate it with the model class variable. The value of the Input property can be derived from app/services/configuration-sample-boards.model.ts You can pass it in via the BoardComponent's view.html.

9561690684 commented 5 years ago

@jayhamilton - Thanks for your inputs. I don't want to change in existing code so is there any other way to do this. something like extending the existing components and then write all code over there. Please let me know if you have any other different way.