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
15
DateTimeEditor only shows previous, current and next month in calendar
posted

Hi Team,
We are using DateTimeEditor inside ultragrid, but it is showing only previous month, current month and next month in calendar dropdown when click arrows.

Here is source code.

                        e.Cell.Editor = new DateTimeEditor(new DefaultEditorOwner(
                                                              new DefaultEditorOwnerSettings
                                                              {
                                                                  DataType = typeof(DateTime),
                                                                  MaskInput = "mm/dd/yyyy h:mm:ss tt",
                                                              }
                                                          ));
                        //editor.SetText(e.Cell.Text.Replace(" 0:00:000AM", ""));
                        
                        e.Cell.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DateTime;

We want to show past and future months in calendar.


I am using version 2016.1