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

Use as standard table data-source instead JSON #19

Closed
montyclt opened this issue Apr 25, 2017 · 2 comments
Closed

Use as standard table data-source instead JSON #19

montyclt opened this issue Apr 25, 2017 · 2 comments

Comments

@montyclt
Copy link

Hi,

Can I use this component as stantandard table with th, tr and td without using JSON as data source?

This is because I'm doing server-rendering and not SPA application. I prefer render table from server.

@montyclt montyclt changed the title Use as standard table Use as standard table data-source instead JSON Apr 25, 2017
@web-padawan
Copy link
Contributor

web-padawan commented Apr 25, 2017

Actually there are two issues:

  1. A server side rendering (SSR) is hard to implement for Polymer elements, mostly because of work required to build Shadow DOM tree. See also related issue

  2. Anyway, brainy-table uses benefits of flex layout and cannot be easily rewritten because of stuff like row details. AFAIK, vaadin-grid in 2.0 version is built on top of that conception, though. So I'd recommend to consider using that element. For our project,vaadin-grid is a lot more complicated than we need.

@montyclt
Copy link
Author

Finally, I think I will use this: https://www.npmjs.com/package/html-table-to-json

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

No branches or pull requests

2 participants