Forum Discussion
christopher_gillis
8 years agoCommunity Manager
Hi Angela,
You're correct that there isn't a onSelectCell event. Beyond writing a custom relationship grid, adding this code to the onSelectRow event is probably your best bet.
The individual cells don't have IDs on them, but it looks like you might be able to use this code from the link you provided to attach a tooltip to all of the cells in the grid.
Christopher Gillis Aras Labs Software Engineer
require(["dijit/Tooltip", "dojo/query!css2", "dojo/domReady!"], function(Tooltip){
new Tooltip({
connectId: "myTable", // <-- You'll need to look up the ID of the grid
selector: "tr", // <-- You can change this to "td" to add the tooltip to every cell instead of every row
getContent: function(matchedNode){
return matchedNode.getAttribute("tooltipText"); // <-- You can add logic here to lookup the appropriate information based on the selected cell
}
});
});
Could you clarify what kind of information you'd like to display from the cells?
Chris
Christopher Gillis Aras Labs Software Engineer