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 grid with a datetime column. I've set the GridStyleInfo.Format for this column to "d MMM yyyy". When the user starts editing this cell, the full date+time is displayed instead of the configured format.
How can I configure the grid so that it displays the custom format in the edit box (and also handles the parsing for this custom format)?
-Ries
SHStefan Hoenig Syncfusion Team August 5, 2002 12:53 PM UTC
Hello,
we'll have a newer build shortly this week and there we actually made the following changes:
1) The default behavior is that the TextBox will display the same text that is shown in the cell and not the unformatted text. This text is determined by calling GridStyleInfo.GetFormattedText.
2) When the textbox is initialized with the text, a CurrentCellInitializeControlText event is raised. This lets you change the text that should be displayed in the active text box. This gives you a hook where you can then specify to show the unformatted and raw text for the cell.
Stefan