Hi,
when using style "DateTime" or similar styles for columns, the following behaviour would be very useful:
When the user activates the cell and then doubleclicks e.g. on the 2-digit hour value, these 2 digits should be selected.
However, by default the whole cell value is selected.
What would be the easiest way to change this?
Thank you,
best regards
Hello ,
the easiest way to achieve functionality that allows you to select a section from the default date time, is to handle ClickCell event of UltrtaGrid and to put there following code lines:
if (e.Cell.EditorResolved is Infragistics.Win.DateTimeEditor)
((Infragistics.Win.DateTimeEditor)(e.Cell.EditorResolved)).PerformAction(Infragistics.Win.UltraWinMaskedEdit.MaskedEditAction.SelectSection, false, false);
Please see attached sample. So on first click user will select a specific section and on the double click will select whole cell value.
Please let me know if you have any further questions.