Hi
I am working on a .NET 2.0 application using UltraWinGrid.
I have a Date column. I want to type the date in the column.
Instead on selecting the date in the Calender popup user should also have the ability to type the
date value in the column.
How to type date value in a Date column?
Thanks
Ashok
Hi Ashok,
You can type in the date by default. I tried this out and it works fine for me.
Why, exactly, can't you type into the cell? Can you get a caret in the cell at all? What happens when you try to type?
Have you set the CellActivation property on the column to ActivateOnly perhaps?
Hi Mike,
Thanks for your reply.. You are correct.. i tried the following code in a sample application. It allows me to
type in the date in the column.
Grid.DisplayLayout.Bands(0).Columns("Date").Style = UltraWinGrid.ColumnStyle.DropDownCalendar
Grid.DisplayLayout.Bands(0).Columns("Date").Format = "dd/MM/yyyy"
I am customising the UltraWinGrid control and using in our application. I am facing this proble
only in the customised Grid control. Cell becomes active and i am able to move the cursor
left/right using left/right arrow key. But when i type something it does not accept.
I am not able to find out which property or piece of code in that is changing this behaviour.
Can you suggest which properties affect the Cell Editing of a date column?
It sounds like CellActivation to me. But here's a KB article with a list of ways in which you can disable editing in the grid:
HOWTO:How can I make a grid or a column, row, or cell in the UltraWinGrid disabled or read-only?
I was calling Grid.UpdateData method in the Cell change event of the grid.
If i remove that line , I am able to type the date value in the cell properly.
Thanks for your help