I am using react-table package and it's table.
In the table column props I have submitted object as it formats properly.
Header: 'Charter',
columns: [
{
Header: 'Title',
accessor: 'charter_title',
style: {
textAlign: 'center'
}
}
]
}
What I want to do is to format this column value as currency
i.e. 10000.53 would be come 10,000.53
i.e. 1230000.123 would be come 1,230,000.123
Does react-table give you opportunity to do this kind of formatting?