I'm using the JS API 3.29 and a FeatureTable. I would like to be able to fire events on individual cells rather than an entire row. But the only documented events are for entire rows. I found this thread where Robert Scheitlin, GISP suggested using an event based on the grid's header using mouseover, but I can't get any events like that to work, using the headers or cells or anything. Does it have something to do with using a FeatureTable rather than a base Dojo dgrid?
Solved! Go to Solution.
Tom,
You can do the same thing with a FeatureTable.
on(myFeatureTable, "load", function(evt){
myFeatureTable.grid.on("th.field-Spp_Code:mouseover", function(){
console.info("hover");
//do your tooltip here
});
});
Tom,
You can do the same thing with a FeatureTable.
on(myFeatureTable, "load", function(evt){
myFeatureTable.grid.on("th.field-Spp_Code:mouseover", function(){
console.info("hover");
//do your tooltip here
});
});
Ah ok, because the grid (a dgrid) is a property of the FeatureTable. That makes sense. Thank you!