On Thursday, December 9, 2010, Christian Mayer <[email protected]> wrote: > Hello list,
Hi Thanks a lot for sharing your work on this! > 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). Right, this is because our FeatureSelectionModel is an Ext SelectionModel, and a SelectionModel is, at its name suggests, for selecting items (sort of adding items to a cart). This definition of "selection" isn't compatible with hover. If I had to do that I think I would attempt to write a plugin to Ext.grid.GridPanel that listens to rowmouse and featurehighlighted events. And if there's code to be shared between this plugin and the FeatureSelectionModel I would attempt to make this plugin use the FeatureSelectionModelMixin (or whatever it's called). Cheers, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Dev mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/dev
