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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Datetimepicker

krishnakomal
7-Bedrock

Datetimepicker

I want to give background color to datetimepicker widget in thingworx 8.5.2 version.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
lbisax
13-Aquamarine
(To:krishnakomal)

I could only test it on 8.5.6 but try to add this in the custom css part of your mashup and give your date time picker widget the custom class name (in my example "myClass"):

 

.myClass .widget-ptcsdatepicker::part(date-field-text-box) {
   background: #ff0000;
}

View solution in original post

3 REPLIES 3
lbisax
13-Aquamarine
(To:krishnakomal)

I could only test it on 8.5.6 but try to add this in the custom css part of your mashup and give your date time picker widget the custom class name (in my example "myClass"):

 

.myClass .widget-ptcsdatepicker::part(date-field-text-box) {
   background: #ff0000;
}

I tried below css code.

 

.widget-ptcsdatepicker::part(date-field-text-box) {
   background: #ff0000;
}

 

It worked .Thanks

slangley
23-Emerald II
(To:lbisax)

Hi @krishnakomal.

 

Since a solution was found, could you please mark the response provided by @lbisax as the Accepted Solution for the benefit of others with the same question?

 

Thank you for your participation in the community.

 

Regards.

 

--Sharon  

Top Tags