Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
how to make date time picker as read only?
Out of curiosity, what is the use case for this? You should just have to bind data to the datetime picker widget, and not bind the datetime picker widget DateTime target to anything. Does that make sense?
Hi,
This option doesn't exist, but you can use a value display widget to show ReadOnly DateTime, and just change visibility between Value Display and DateTimePicker depending on ReadOnly state.
Carles.
ok I got it.
Hi Balkrishna,
I am not sure about your exact use case but one way to achieve read-only date time is to map DateTimePicker widget output to a TextBox and make TextBox property marked as "ReadOnly".
Durgesh