forked from geoext/geoext
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply correct model to FeatureStore with fields
This ensures that the FeatureStore (GeoExt.data.store.Features) uses the correct model class in case of beeing instanciated with a 'fields' configuration. Otherwise an implicit model is generated and the reference to the OL feature in the record is missing (fixes geoext#171). This also adds some tests and adapts the featuregrid example to show the fixed behaviour.
- Loading branch information
1 parent
0939673
commit 79c8a38
Showing
3 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters