Hi,
is it possible to show the week of year e.g. on the left side of the date dropdown?
Maybe like in Outlook - please see the screenshot.
Thank you,
best regards
Hello Milko,
is there a simple way to do this for every DateTime column that exists in the grid?
(Do I need to keep an "editor" variable for every column?)
Thank you
Thank you, this works perfectly.
Hello Daniel,
Thank you for your feedback.
In order to have appearance similar to DateTimePicker, instead of implementing IEmbeddableEditorBase, you may use UltraDateTimeEditor. To display weeks numbers you need to set the dropdown control of UltraGrid ShowWeekNumbers property to true.
Please find attached a sample solution implementing this approach and let me know if this is what you are looking for or if I am missing something.
thank you for your suggestion, it works, but if possible I would like to use the common DateTimePicker control because of some small details like the "Today" button is not translated to German.
I use a class ExtendedDateTimePicker where I extend the default control with week numbers, like it is described here. When I try to set the EditorComponent property of the grid date column with this extended control, I get an exception which says I have to implement IProvidesEmbeddableEditor.
So I tried to implement the "EmbeddableEditorBase Editor" (the Get property), but do not really know what to return here.
Could you please explain how to do this?
I am just checking about the progress of this issue. Let me know if you need my further assistance on it.
Thank you for using Infragistics Components.