Home Forums WinForms controls Xceed Grid for WinForms Cannot insert into datetime column Reply To: Cannot insert into datetime column

User (Old forums)
Member
Post count: 23064

AndreC,

Thanks again for your help. I still cannot get this to work correctly. If I just use the calendar dropdown in the grid, I can edit the columns just fine. However, when I start changing the formatspecifier and formatprovider, the cell an no longer be edited. I have even tried setting the readonly property to false. Here is a code snippet of what I am doing.

Dim format As New System.Globalization.DateTimeFormatInfo()
starterGrid.Columns(“openHouse_startTime”).FormatSpecifier = “t”
starterGrid.Columns(“openHouse_startTime”).FormatProvider = format
starterGrid.Columns(“openHouse_startTime”).ReadOnly = False

What am I missing? I know it has got to be something pretty small, but it is frustrating nonetheless.

Thanks Again,

Brandon

Imported from legacy forums. Posted by bolson (had 338 views)