Hi
can it be possible to change calender control used by
Infragistics.Win.UltraWinGrid.
ColumnStyle.DropDownCalendar
? How?
Hello Siddika,
Thank you for your feedback.
Please feel free to let us know what is the outcome of the provided approach here or in your other forum thread.
If you have any other questions feel free to let us know.
i need to use my own calendar control that is different from UltraCalendarCombo/UltraDateTimeEditor or default calendar. Mr. Mike give the solution like:
'If you have your own custom calendar control, then you could create you own calendar dropdown using one of the existing editor control, like UltraTextEditor, by adding a DropDownEditorButton to the ButtonsRight collection of that control. You would have to handle any interaction between the text portion of the control and the control on the dropdown, of course'
but i did not try this solution yet.
I am still following this forum thread.
Please feel free to let us know if you need any other assistance with this matter.
What you could do instead of changing the editor of this style would be setting a DateTime column to your UltraGrid, and if you do not like the default drop down calendar editor, to set our UltraCalendarCombo like the following in the InitializeLayout event of the UltraGrid:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e .Layout.Bands[0].Columns["Column 1"].EditorComponent = ultraCalendarCombo1; }Please feel free to let us know if you have any other questions with this matter.