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

New DataView Rendering Type #131

Open
EitanBlumin opened this issue Jun 10, 2019 · 0 comments
Open

New DataView Rendering Type #131

EitanBlumin opened this issue Jun 10, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@EitanBlumin
Copy link
Owner

Type 1: DataTable Grid (same as today)
Type 2: AngularJS Template

The AngularJS (AJS) template will work like this:

  • There should be a folder for html partial templates containing AJS-compatible HTML.
  • It should be possible to write or upload your own templates.
  • The API endpoint should be configurable somehow (because one endpoint should return data in DataTable format, and another endpoint should return data in a custom JSON format). Possibly make it dependent on whether a Source stored procedure was chosen (table as source: use DataTable, procedure as source: use AJS template).
  • The template loading should be done using the jQuery.load() function.

The DataTable Grid should probably also be implemented as a partial template file (thus the implementation should be agnostic about the actual web framework in use), and then the user would simply set a single "Layout" combo-box when configuring a DataView.

More detailed implementation design TBD

@EitanBlumin EitanBlumin added the enhancement New feature or request label Jun 10, 2019
@EitanBlumin EitanBlumin self-assigned this Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant