Remove icon from added line
Remove icon from added line
klermann
Posts: 277Questions: 67Answers: 1
Hello Allan, I'm adding a row to the datatable, but with it's being added the icons for actions ... How do I remove them?
var node = t.row.add({
pagamento : '',
dataDespesa : '',
grupos : '',
conta : '',
categoria : '',
descricaoDespesa : 'Valor Total ',
valorDespesa : valor,
cor : '',
}).order([6, 'asc']).draw().page('last').draw().node();
$(node).addClass('bg-blue-grey-50 font-weight-600');```
the column is displayed as null
```js
{
data: null,
orderable: false,
className: "center",
defaultContent: '<a href="" class="editor_edit"><i class="icon wb-edit font-size-12 blue-grey-400" aria-hidden="true"></i></a> ' +
' <a href="" class="editor_remove"><i class="icon wb-trash font-size-12 blue-grey-400" aria-hidden="true"></i></a>'
}
This discussion has been closed.
Answers
here is how I would do it. (have not verified the css but you will get the idea)
to
then in the css