You need to sign in to do that
Don't have an account?
Matyas Csaba
lightning:Datatable default WRAP
Hello Helplers
I have a question related to Lihtning:dataTable componenent
There is an option the CLIP or WRAP the test in a cell.
By Default CLIP is used and user can switch to WRAP
What I want is to have the WRAP being defaulted
Is there any solution for this?
Thanks in advance
Csbaa
I have a question related to Lihtning:dataTable componenent
There is an option the CLIP or WRAP the test in a cell.
By Default CLIP is used and user can switch to WRAP
What I want is to have the WRAP being defaulted
Is there any solution for this?
Thanks in advance
Csbaa
Kindly let us know if it helps you, and close your query with best answer so it will helps other in future.
All Answers
Kindly let us know if it helps you, and close your query with best answer so it will helps other in future.
official doc says it is not possible or there is no mention in the specs that it is possible or not?
can we control this via code?
Regards
Csaba
It's typically an anti-pattern to use !important, so be vigilent for unexpected results.
In my own lightning:datatable it works up to expectations.
If it is not possible, is there any way to hide the column header action (CLIP and WRAP).Please suggest.its urgent.
Thank you in advance!
Struggling with the same problem. If anyone found a good solution, please post. Thanks!
@manish1 yekhande
Try the below code if you want to hide the header actions.
.THIS.slds-button__icon {
display: none;
}
It will work
Regards,
VSK98
I used this new attribute, plus @Narsimha Rao 's recommendation to remove the column header, which worked great.