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
130
customizing the date style of a Ultragridcolumn to show only month and year in the dropdown.
posted

Hi ,

 I had a specific requirement for ultragrid in winforms to show a ultragrid column with calendar style  with the option to choose only month and year. How can i restrict the dropdown to show only month and year visibility?

am trying to acheive this by using a " Infragistics.Win.UltraWinGrid.ColumnStyle.Date " .

Please suggest.

Thanks in advance,

Regards,

Srinivas J

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    There's no way to do that. You should Submit a Feature Request to Infragistics and perhaps something like this can be added in a future release. But there is currently no built-in functionality in the control to do this.

    If you have a fairly small range of dates, maybe you could use a dropdown list instead of a Date picker. You could populate the list with values like:

    01/14

    02/14

    03/14

    etc.

    Another option would be to create your own control and then use a DropDownEditorButton on an editor control to drop down your custom control that allows the user to pick a month and year.

Children