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

francotechsfrancotechs Posts: 1Questions: 1Answers: 0

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

  • colincolin Posts: 12,911Questions: 0Answers: 2,200

    Do you mean something like this with Editor? If not, please can you elaborate.

    Colin

Sign In or Register to comment.