JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › is there a delete event? › Reply To: is there a delete event?
August 17, 2022 at 7:27 pm
#103504
edwardsmarkff
Participant
this did not work:
for ( const [key, value] in document.getElementsByClassName('smart-icon-delete') )
{ let thisVal = document.getElementsByClassName('smart-icon-delete')[key] ;
. . . . console.log(thisVal);
. . . . console.log (typeof thisVal) ;
. . . . thisVal.addEventListener('click', (event) => { console.table(event); } )
}
- This reply was modified 2 years, 1 month ago by edwardsmarkff.
- This reply was modified 2 years, 1 month ago by edwardsmarkff.