#109318
ivanpeevski
Participant

Hi,

 

You can use data attributes on our components in the same way you would for any other html element. Like this:

let grid = document.querySelector(‘smart-grid’);
grid.dataset.customData = “abc”;
console.log(grid.dataset.customData);

 

Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/