In SLDS there is the class slds-table_bordered that results in table borders and lightning-datatable emits that class by default.

I don't see any way to stop that to have a borderless table that is helpful e.g. when multiple tables are presented in one page inside accordions that already generate horizontal lines. Is there a way to have a borderless table using this component?


So AFAIK today, the answer is no.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.