I want to align the contents of a column right, but I don't want to make this column "numeric" because it's not.
I tried obvious "align" property with "right" value, but it didn't work.
In your columns definition, add the following:
{
title: <your column title>,
field: <your column field>,
cellStyle: {
textAlign: "right"
}
}
In your columns definition, add the following:
{ title: <your column title>, field: <your column field>, cellStyle: { textAlign: "right" } }
Im not able to fix the problem by using this.
Can you provide some codesandbox with your issue?
Can you provide some codesandbox with your issue?
I fixed it. As long as my edit and add form handle the currency I can just display it as a normal field with a custom render of a dollar sign
In your columns definition, add the following:
{ title: <your column title>, field: <your column field>, cellStyle: { textAlign: "right" } }
this works
How can this be done on the action column?
Check out the my merged PR: #1974
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.
Most helpful comment
In your columns definition, add the following: