JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Grid and Changing HTML › Reply To: Grid and Changing HTML
July 14, 2020 at 6:53 am
#100914
admin
Keymaster
Hi Gerhard,
That initialization requires the HTML Element to be in the DOM. If the querySelector by id, which in this case is ‘grid’, the component properties would not be set. In general, it is not necessary to use that kind of initialization. You can set properties as in the standard SELECT tags like myGrid.someProperty = someValue;
Regards,
Peter
Smart UI Team
https://www.htmlelements.com/