Applying a style in NG2 (NGTi)
Posted: Thu Feb 09, 2023 12:13 pm
Having a code line
and a corresponding CSS selector
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,
- 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,