Hello,
I am searching for a solution to show a calendar in an ultragridcell with included week numbers. I already tried to take an ultraMonthViewMulti control and also monthcalendar which comes with microsoft but I cannot add these ones as an editor component on the ultragrid cell.
I also tried to find properties directly on the ug cell but cannot find sth. about week numbers.
Do you have any ideas how to get this behavior?
Thanks in advance,
Alex
Hello Mike,
this was exactly the control I was searching for. Now everything works as expected.
Thanks for your help,
I don't see a screen shot here.You need to attach it as a file (under the options tab).
If you just want a dropdown calendar that supports week numbers, then you can use the UltraCalendarCombo.
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { UltraGridLayout layout = e.Layout; UltraGridBand band = layout.Bands[0]; this.ultraCalendarCombo1.WeekNumbersVisible = true; band.Columns["DateTime 1"].EditorComponent = this.ultraCalendarCombo1; }
Hi Mike,
It doesnt matter if the calendar is embedded or not. I only want to have the calendar with week numbers visible (like in screenshot).
Is it not possible to set a property where these week numbers are visible?
The grid is bound to a datasource and user should be able to change the value.
Hi Alex,
Do you want a cell in the grid with a dropdown calendar? If so, then I think what you want is the UltraCalendarCombo control.
Or do you want a calendar embedded directly in the cell that the user can interact with?
For the latter case, what behavior do you want? I assume the cell will contain a date and you want the calendar to show / highlight that date. Does the user need to be able to change the date?