Hi Friends,
I have a date drop down in the UltraGrid.When i make the date blank, a "//" string is shown when the focus on the cell is lost.The format I am using is "mm/dd/YYY".I dont want the "//" thing to appear everytimeI make the date blank and lose focus.
Regards,Siddharth.
Mike,
I used the UltraCalendarCombo and set the EditorControl property of the column to it. This solved it for me.
Regards,Sid.
Hm, the code you have here refers to two different columns. Is that just a typo?
Either way, none of these settings, other than the Style on the column, could have any effect on whether the mask displays when you leave the cell. Are you loading a layout into the grid? Or maybe setting the Mask properties of the column or cell?
row.Cells["cell1"].Activation = Activation.AllowEdit;
row.Cells["cell2"].Style =Infragistics.Win.UltraWinGrid.ColumnStyle.Date;
row.Cells["cell1"].Column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;
Hi Siddharth,
I tried this out and I cannot get the behavior you describe. When I clear out a date cell in the grid and leave the cell, the cells shows up completely empty. I tried setting a Format on the cell and that made no different.
So this must be caused by some other settings you are applying to the cell. What properties are set on this column?