JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › button column with smart-window › Reply To: button column with smart-window
February 1, 2021 at 9:48 am
#101415
yavordashew
Member
Hi dusrkdldlr,
The problme here in your case is quite simple.First you define ‘dialogWindow’ with capital ‘W’ but in the event listener of the button you use it with lowercase ‘w’ just change your code to this”
button.addEventListener("click", function() {
console.log('Button inside the column was clicked')
dialogWindow.open();
//smartwindow.open()</div>
});
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/