Page 1 of 1

Applying a style in NG2 (NGTi)

PostPosted: Thu Feb 09, 2023 12:13 pm
by huber
Having a code line

Code: Select all
elements.gridSchoolUnitAssignments.styleClass = 'ag-theme-bootstrap readOnly';

and a corresponding CSS selector

Code: Select all
.ag-theme-bootstrap.readOnly {
   color: var(--readOnlyColor);
}


works perfectly in NG1, but not in NG2 (NGTi).

How to accomplish the same result in NG2, i. e. applying a style as shown above?

Regards,