Right-Align Data-Table cells
For numeric values in particular, our design calls for right-aligned text in specific columns.
Can this be added to the Data-Table, or if it already exists have the documentation updated to more clearly explain how to use it.
- https://jira.exacttarget.com:8443/browse/CONBLD-4789
Would allowing custom classNames along these lines help? https://github.com/tweettypography/design-system-react/tree/datatable-column-classnames
Yeah, but you should still update the documentation to give an example of right aligning text with this method, and what the intended SLDS class to use is. (I assume slds-text-align--right)
For sure.
Other options would be an actual React textAlign prop or adding the ability to pass a style prop. Actually, probably both className and style should be supported props no matter what we do for this.
Adding features are the responsibility of the consuming product team. Please follow up if any B2C UXE or SLDS decisions need to be made.