I\'m using angular material table for displaying data and dyanmically binding the table header and table data. Is there any way to format particaular column\'s cell content dyn
Best solution is to use selector in css as below where 'column_name' is the name you provide in 'matColumnDef'
.mat-column-'column_name'{ //your custom css text-align: right; }
if your column 'matColumnDef' is 'amount'
.mat-column-amount{ //your custom css text-align: right; }