Closed jetswayss closed 8 years ago
This vaadingrid is really cool! But I'm having some troubles. I don't how to add one new row and show it on screen.
seeing api of com.vaadin.polymer.vaadin.widget.VaadinGrid , I still don't know how I can achieve the goal.
I figured out that call setItems the first time, It will work.(showing the items on the grid)
grid.setItems(items);
however, calling it the second time , it won't work.
items.push(properties); grid.setItems(items);
After updated the content call clearCache will do the trick.
grid.clearCache()
Saulis helped me with this question.
This vaadingrid is really cool! But I'm having some troubles. I don't how to add one new row and show it on screen.
seeing api of com.vaadin.polymer.vaadin.widget.VaadinGrid , I still don't know how I can achieve the goal.
I figured out that call setItems the first time, It will work.(showing the items on the grid)
however, calling it the second time , it won't work.