For instance I have a table which consist of Start and End dates. How could I possibly dynamically (optimize way) set the InitialFocusedDateValue so that each time the user opens a datepicker, the previous date he chose will be the Focused date.
I've already tried the following but none worked:
- Calling the navigate event to set InitialFocusedDateValue but this is being called after the pop up has rendered. So the new InitialFocusedDateValue doesn't take effect the first click.
- Binding > not possible since it takes Date object.
- Assigning Ids to the controls and calling by Id > doesn't work too.
I've thought of looping through the table and assigning to each datepicker aggregation the InitialFocusedDateValue everytime a date is chosen but obviously this is a crappy approach. Hope there's an optimal way of resolving this.
