#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/