Add image or icon in table action

Yess, totally doable.

(add the below to your app styles)

/*
// - rt-table-{{tableId}}
// - nth-child(x) is selecting the xth button
*/

#rt-table-table1 .table-cell-action button:nth-child(2) {
  background: url(https://www.svgrepo.com/show/88909/round-help-button.svg);
  background-size: 20px auto;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0 15px;
}

Screenshot 2022-02-22 at 18.49.21

2 Likes