Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Some issues with vaadin-grid
First of all love the element, really needed a material design table/grid.
Am having some issues:
1.Using vaadin-grid in a Polymer paper-dialog, open the dialog first time grid shows fine, close then open dialog again and grid is gone, somewhere the vaadin-grid is getting hidden attribute set.
2. Showing row details for grid, if last row is selected details do not show. Also the details of the row are another vaadin-grid and only the header shows although there are 30 plus rows.
Any help would be greatly appreciated
Hi Jason! Thanks for the feedback. I quickly tried out the first use case (vaadin-grid inside paper-dialog), and it’s working for me, using vaadin-grid from the master branch. Here’s the code: https://gist.github.com/jounik/d501c23b1de5e896e6ae
For the second issue, I would like to have a test case how you try to do it. And for using another vaadin-grid inside vaadin-grid is not reallly something we explicitly support. But it’s an interesting use case nonetheless, and I would like to get a test case for that as well.
I think the main difference is we are building the column definitions dynamically, which is a requirement as our data model defines the columns and properties of the columns so we can't statically create them. I posted an example in my other post.