Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
How to add DateButtons to DropDownCalendar in grid ?
posted

I have an UltraWinGrid, where one column has a ColumnStyle=DropDownCalendar. 

We currently have UltraCalendarCombo where we add DateButtons, where the callbacks sets the data for (2 weeks) after today, or (4 weeks) after today, ..., instead of manually selecting a date in the dropdown.

Is there a way to add DateButtons to the DropDownCalendar, like in UltraCalendarCombo above?

Thanks.

- Eleazar.

  • 34810
    Offline posted

    Hello Eleazar,

    I have been investigating into the behavior you are looking to achieve, and in order to add the DateButtons to the drop-down calendar in the UltraGrid, I would actually recommend that you still use the UltraCalendarCombo, but add it as the EditorComponent of your UltraGridColumn rather than just setting the ColumnStyle to DropDownCalendar.

    I am attaching a sample project that demonstrates the above. I hope it helps.

    Please let me know if you have any other questions or concerns on this matter.

    UltraGridCalendarComboDemo.zip