JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Set Grid Width › Reply To: Set Grid Width
August 8, 2022 at 10:04 am
#103464
Johan Iskandar
Participant
Hello,
Thank you for you respond. I think the problem that I have is because it is under the shadow root. I am using Stenciljs, how to overswrite the default styling in shadow root. Can I do it without document.getSelector, I just want the easiest solution so I can overwrite the css file rather than doing it programmatically
in the css
smart-ui-grid {
width: 800px;
height: 800px!important;
}
But this does not overwrite the shadow root styling. Please shed some light. Thank you.
regards,
Johan