-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embedded Slickgrid Table in Iframe not rendering completely(Iframe-Html) #1092
Comments
There is a ShadowDOM Example which is working fine. There was the PR #889 that fixed issues related to ShadowDOM. I don't personally use any ShadowDOM but since the example is working fine, I'm pretty sure the problem is on your side and perhaps you should ask this type of question on Stack Overflow. We can't help by just looking at videos and also the Bokeh is a Python project using a very old version of SlickGrid that they forked. So that's not a really good comparison to do because we will certainly not compare our codebase with them. The best way to provide a repro is to use the Stackblitz link provided on the main readme, modify it to demo your issue and then save it and provide the link. Side note, quickly comparing your code with the ShadowDOM example, it looks like you forgot to add the CSS stylesheet into the Shadow root, as per these lines taken from the example SlickGrid/examples/example1a-shadow-dom.html Lines 83 to 87 in d2f4355
|
Just as an additional comment, I'm not using shadow DOM or any of the other variants you mention, but I have used SlickGrid in iFrames with no issues. |
closing since this seems like an issue on the user's side, make sure to properly load your CSS files when using iFrame and/or ShadowDOM |
Describe the bug
Video -> here
Slickgrid output
Bokeh output
'Standalone' Slickgrid Table with Frozen columns renders fine but when embedded into a html Iframe (NO SERVER),the table does not render completely.
Missing - TableHeader, Unfrozen rows do not render throughout the width of the table.
Also , tried creating the same table in BOKEH-PYTHON(which uses slickgrid with a SHADOWROOT implementation) and then embedding it in a html- iframe which went fine.However bokeh-slickgrid lacks features.
IS THERE ANY EXAMPLE TO EMBED SLICKGRID TABLE AS A SHADOWROOT ELEMENT(below implementation is NOT WORKING - Header and Rows are rendered in a single column) ?
SLICKGRID TABLE AS A SHADOWROOT ELEMENT:
Image - https://drive.google.com/file/d/1Tru9ACiM2k_HvZM2U5MvyeXA2TqRtSk-/view?usp=sharing
Reproduction
EMBEDDED HTML(IFRAME) :
**Slickgrid with Shadowroot(NOT WORKING - Header and Rows are rendered in a single column **) :
Which Framework are you using?
Vanilla / Plain JS
Environment Info
Validations
The text was updated successfully, but these errors were encountered: