2

As seen in the screenshot below I need to add arrow down utility icon next to up arrow. How to do it within the same cell? And also I need to align it to the right of the cell

enter image description here

 clauseColumns = [
    {label : 'Selected Clauses', fieldName : 'headingName',
     cellAttributes:{ iconName: 'utility:up', Name: 'Up', alignment: 'Right'}},
  ]

1 Answer 1

1

You can add only one icon in one cell at a time. You need to extend the standard lightning datatable by adding the custom data type. Check the Creating Custom Data Types section from this document.

Also, you can set the icon position to left or right using the iconPosition cell attribute in case you need only a single icon.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .