Hello,
According to https://es.infragistics.com/products/ignite-ui-angular/docs/typescript/classes/igxcolumngroupcomponent.html cellClasses is a supported property for the igx-column-group control.
When I attempt to apply a css class using this property though it is ignore. Here is a sample of my implementation:
<igx-column-group [header]="'Contact Name'" [cellClasses]="igx-thead_center-and-middle-text">
Am I missing something?
Thanks!
The cellClassses property works a lot like the ngClass directive. It expects an object where the keys are the style classes that are to be applied and the values are either simple Boolean values or a callback that returns a Boolean value.
You can check out this sample where you can see it in action.
In your case it will be [cellClasses]="{'center-and-middle-text': true}"