Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix grid caching data issue #230
The only question I had (which was also the reason I did not make this pull request before) was the reasoning behind the datagrid caching. The reasoning is unknown to me but thinking out loud right now I realize that this caching is useful only when you rerender the grid and the data (the collection) is fetched already. So it is safe to use the gridId instead of the gridName (which conflicts with other grids with the same name).
This solution breaks grid cache functionality.
Regarding your issue #223, see how grid name is built:
changing datagrid scope you can create similar grids for different entities.
For more details see DataGrid Scope documentation.