Thanks for that. That is a very nice functionality.
Matt Priour

--------------------------------------------------
From: "Christian Mayer" <[email protected]>
Sent: Thursday, December 09, 2010 6:07 AM
To: <[email protected]>
Subject: [Dev] Hovering in Ext Grid in combination with 
FeatureSelectionModel

> Hello list,
>
> we figured out that an Ext.grid.GridPanel in combination with a
> GeoExt.grid.FeatureSelectionModel has only interaction possibilities by
> the select events (rowselect & featureselected / rowdeselect &
> featureunselected). The reason is that there is no hovering offered
> within the Ext.grid.GridPanel.
> By using an ux
> (http://www.sencha.com/forum/showthread.php?77730-cellmouseenter-and-cellmouseleave-etc-for-GridPanel)
> it is possible to get hover events for the Ext.grid.GridPanel. This
> works very well, but the connection to the layers is of course still
> missing. Therefore we extended the GeoExt.grid.FeatureSelectionModel in
> that way it binds the hovering events of a
> OpenLayers.Control.SelectFeature control (hover=true) to the
> corresponding hover events of the grid.
> Now it is possible to have a select control, a hover control or both
> within the GeoExt.grid.FeatureSelectionModel.
>
> To show the functionality we extended the example of the geoext website:
> http://www.webmapcenter.de/geoext-hover-grid/examples/example-grid.html
>
> The code files are attached to this mail.
>
> Any comments and revisions are very welcome.
>
> Best regards,
> Thorsten, Marc & Christian
>
>



> _______________________________________________
> Dev mailing list
> [email protected]
> http://www.geoext.org/cgi-bin/mailman/listinfo/dev
> 
_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to