onChange, modify value in datepicker

hello,

i have a function which updates my datepicker view. This function must be updated after an event, and so I’ve ever tried to do this :

$$(“startDate”).refresh(); in order to refresh my datepicker view, without success.

{ view:"datepicker", id:"startDate", label:"Start date", name:"startDate", 

stringResult:true, format:"%Y%n%d", width:300, value:getStartDate()

},

any advice ?

thanlks in advance

which updates my datepicker view

Can you share code that updates view in question?
Calling .refresh will repaint the input, so it must apply all updated settings. By the way, if you need change the value only, you can use .setValue API