JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › assigning an event to EVERY cell › Reply To: assigning an event to EVERY cell
September 12, 2022 at 2:38 am
#103666
edwardsmarkff
Participant
ok this does what i want:
https://codepen.io/edwardsmarkf/pen/VwxjvME
but its VERY clumsy. hopefully one of the wizards at smart-html-elements can come up with a better way to associate a smart-tooltip with a cell.
note: for some reason, using “addEventListener” to a div (or any tag) in the grid does not seem to “stick”. you can issue the command in the code or in the console, but the tag does not change. so i decided to “split” the div and insert the extra characteristics in the middle.
there HAS to be a better way to do this!