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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Datetimepicker

krishnakomal
10-Marble

Datetimepicker

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

 

 

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  

Announcements


Top Tags