1

I need to create a table and would like to use the ligthingdatatable component. In jqueryDataTable I can put an inline component in the table. But how do I do this for lightning: datatable?

  • As per the roadmap, it's supposed to available now. Did anybody figure out how? I couldn't find any documentation yet. – Vinod Rondla Feb 15 '19 at 1:19
4

You can't. Only the supported data types can be placed in a lightning:datatable, and custom components isn't one of them. Instead, you'd have to implement your own components using the Lightning Design System.

0

Looks like we can do this with LWC version of the datatable but not the aura version as per documentation(https://developer.salesforce.com/docs/component-library/bundle/lightning-datatable/documentation).

Check out the section titled "Creating Custom Data Types".

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.