append td not work #4460
Unanswered
enhengenheng-hubowen
asked this question in
Q&A
Replies: 1 comment
-
Yeah unfortunately here the native DomParser is cleaning up the passed HTML string. As a workaround, you can pass directly the component definition and skip the parser. component.append({
type: 'cell',
attributes: { style: 'border: 1px dashed; height: 20px' },
components: 'Text'
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
component.getChildAt(0).getChildAt(0).append(
<td style=" border: 1px dashed;height:20px">text</td>
)Beta Was this translation helpful? Give feedback.
All reactions