cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Grid widget Filter box CSS

krishnakomal123
15-Moonstone

Grid widget Filter box CSS

Hi,

 

Version :  Thingworx 9.6.1

 

Please check the attached image.

 

Need help to update css of filter box in Grid widget. Providing the sample that I tried which didn't work.

@supports (ptcs-style-unit: "PTCS-CORE-GRID") {

    [part~=simple-filter] {   

    font-family: 'Segoe UI' !important;

    }

}

Please let me know if you are able to figure out

ACCEPTED SOLUTION

Accepted Solutions

Hi @krishnakomal123,

 

It is recommended to use Style Properties tab to configure the font-family for text value in Grid filter.

TonyZhang_0-1748487430013.png

However, if you really need to apply a font-family that is not available in the list for some reason, you need to target the text-value part of the ptcs-textfield in custom CSS.

Please try the below CSS; I'm using cursive so that whether the font-family is applied or not should be easily noticed.

@supports (ptcs-style-unit: "PTCS-TEXTFIELD") {
    [part~=text-value] {   
        font-family: cursive !important;
    }
}

 

Best,

Tony

View solution in original post

1 REPLY 1

Hi @krishnakomal123,

 

It is recommended to use Style Properties tab to configure the font-family for text value in Grid filter.

TonyZhang_0-1748487430013.png

However, if you really need to apply a font-family that is not available in the list for some reason, you need to target the text-value part of the ptcs-textfield in custom CSS.

Please try the below CSS; I'm using cursive so that whether the font-family is applied or not should be easily noticed.

@supports (ptcs-style-unit: "PTCS-TEXTFIELD") {
    [part~=text-value] {   
        font-family: cursive !important;
    }
}

 

Best,

Tony
Announcements


Top Tags