-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Raw HTML within data table cell #109
Comments
Solved this one myself, I ended up using datatable slots to just print out the html I needed, I hadn't thought of this solution as I'd only previously used slots to render other BalmUI controls out into datatable cells.
And data.enabled contained my formatted html. Hopefully this ends up helping someone else! |
I don't really understand how I would put it in my scenario. This is my code
And my tbody
This lead to no success. The column is empty. The div is generated though only the value not. |
Hi @DevChahinAarbiou , you can set tbody with or without slot
Hope it helps you. |
Hi,
I'm porting an old html datatable into a BalmUI Datatable, for which a cell can have some text that's normally decorated and some that's decorated with the following.
text-decoration: line-through;
In the old datatable this is achieved by the innerhtml of the table cell being populated with the following (example)
<td><span class="before">false</span> <span class="after">true</span></td>
Is there a way to input raw html into a datatable cell as above to produce the same results?
Cheers.
The text was updated successfully, but these errors were encountered: