Applying a style in NG2 (NGTi)

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Applying a style in NG2 (NGTi)

Postby huber » Thu Feb 09, 2023 12:13 pm

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,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests