How can i add view, Edit and delete icon to action field on database
How can i add view, Edit and delete icon to action field on database
francotechs
Posts: 1Questions: 1Answers: 0
in DataTables
const Atmtables = [
{
Header: 'S/N',
accessor: 'id'
},
{
Header: 'ATM ID',
accessor: 'atm_id'
},
{
Header: 'MODEL',
accessor: 'model'
},
{
Header: 'MAKE',
accessor: 'make'
},
/* {
Header: 'YEAR',
accessor: 'year'
}, */
{
Header: 'YEAR',
accessor: 'manufacture_year'
},
{
Header: 'ATM STATUS',
accessor: 'atm_status'
},
{
Header: 'ADDRESS',
accessor: 'address'
},
{
Header: 'REGION',
accessor: 'region'
},
{
Header: 'STATE',
accessor: 'state'
},
{
Header: 'BRANCH',
accessor: 'branch'
},
{
Header: 'ACTION',
accessor: 'DELETE',
}
]
Answers
Do you mean something like this with Editor? If not, please can you elaborate.
Colin