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

FeatureRenderer in grid column disappear when sorting #266

Open
chrismayer opened this issue Mar 15, 2017 · 0 comments · May be fixed by #267
Open

FeatureRenderer in grid column disappear when sorting #266

chrismayer opened this issue Mar 15, 2017 · 0 comments · May be fixed by #267
Assignees
Labels

Comments

@chrismayer
Copy link
Contributor

In case of using a GeoExt.component.FeatureRenderer to show the legend of a vector feature in a grid column the following happens:
When sorting on a column some rendered features might disappear from the grid.

This was initially detected and reported by @marcjansen in the GeoExt workshop repository (see geoext/geoext3-ws#30)
This can also be reproduced in the official feature grid example.

@chrismayer chrismayer added the bug label Mar 15, 2017
@chrismayer chrismayer self-assigned this Mar 15, 2017
chrismayer added a commit to chrismayer/geoext3 that referenced this issue Mar 16, 2017
This ensures that the vector legends draw in a grid column won't
disappear when the grid is sorted.
This is done by using the default feature object for the given
geometry type instead of passing the given feature directly to
the renderer (fixes geoext#266).
@chrismayer chrismayer linked a pull request Mar 16, 2017 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant