-
Notifications
You must be signed in to change notification settings - Fork 878
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
add style in a cell #315
Comments
try to use |
Hi, I use this, but it doesn't works. valuePrepareFunction : (cell, row) => { thanks for your answer |
Hey @TheMalloum, your first example should work, just specify the column type as 'html'. |
Hi @nnixaa, that is my columns settings but it doesn't works, color is ignore.
thanks |
Hi @nnixaa, I want to know if is possible, if is it, i could validate the use of ng2-smart-table. |
@TheMalloum for your example, you can use only the classes or use a custom view component.. Please, take a look at this docs. |
Hi @nnixaa, |
For People Who still stuck to add a class to a cell in the table ' + value + ' ';} } } }; |
try this one, CSS |
Hello, |
Use prime Ng table or prime Ng tree table instead of this is easy to handle
and more features in it
…On Thu 30 Aug, 2018, 4:10 PM Arun Kumar Maurya, ***@***.***> wrote:
Hello,
Please help me i want to use row groupping in ngx-smart table .
Plese share some example code
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#315 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aic_atez7ftu1jkojzhWrE_7q_oIWlotks5uV8ErgaJpZM4NDL0P>
.
|
Hi @TheMalloum, |
Hi, It is work fine with renderConponent . |
@lukele1607 can you give me example about this? |
@khyynld : code sample
progress.component.ts:
|
Change the type oc collum to HTML
${row.StatusBoleto} ; } }),
Style: |
im not able to add class plz help |
Hi,
I want to add style dynamically in a cell.
for exemple
valuePrepareFunction : (cell, row) => {
return
<span class="myclass" style="background-color: yellow !important;">${cell}</span>
;}
no problem for my class but the style is ignore.
Do you know why ?
The text was updated successfully, but these errors were encountered: