The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I have a databoundgrid with a datetime column. I used
GridStyleInfo style = grid.Binder.InternalColumns["Time"].StyleInfo;
style.CellValueType = typeof(DateTime);
style.Format = "HH:mm";
After that, the cells still show as a dropdown calendar. How can I make it just like a textbox but with datatime type, so I can sort it by time?
Thanks a lot
Chris
Try setting the cell to static:
style.CellType = "Static";
>Hi,
>
>I have a databoundgrid with a datetime column. I used
>
>GridStyleInfo style = grid.Binder.InternalColumns["Time"].StyleInfo;
>style.CellValueType = typeof(DateTime);
> style.Format = "HH:mm";
>
>After that, the cells still show as a dropdown calendar. How can I make it just like a textbox but with datatime type, so I can sort it by time?
>Thanks a lot
>
>Chris