Open ptrkkr opened 1 year ago
@ptrkkr I think we are missing the frame on the click event: https://github.com/grafana/grafana/blob/main/packages/grafana-ui/src/utils/table.ts#L28
if we are to add it I think we need to update a few visualizations. @dprokop what do you think? seems like a good thing to add to the context
I do agree. Think we need to update the interface of the DataLinkClickEvent
to be actually typed. Right now we do not pass any specific type there so origin is always any
.
Is there an update when we can expect this one?
Still nothing new on this one? :sweat:
Hi!
I want to show panels in the secondary view of my SplitLayout, based on multiple fields in the table of my primary view.
I got something like that:
${__data.fields[0].text}
or${__data.fields[1].text}
or${__data.fields[5].text}
is working perfectly fine in.overrideLinks()
when i use it intitle:
orurl:
but I need this information also in theonClick:
. Is there any way to access all fields of one row (or even the whole table) inonClick:
? Or is there any other way to achieve this?e.origin
seems not to contain the information I need.Thx!