We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





33264 Aug 17,2005 03:10 AM UTC Aug 17,2005 07:51 AM UTC WinForms 1
Tags: GridControl
Adam K.
Asked On August 17, 2005 03:10 AM UTC

i have a bunch of user input cells that i want to show dates. i am using a virtual grid. i tried using format = "d" but the cell defaults to 1/1/0001. can you change that so it defaults to "" but when a user types in a date it then formats it to the "d" format. thanks, ak

Administrator [Syncfusion]
Replied On August 17, 2005 07:51 AM UTC

>>virtual grid. In your virtual grid''s QueryCellInfo, what does your data source provide in this case? It looks like it provides a zero. In this case, you might try setting e.Style.CellValue = DBNull.Value or maybe set it to null to see if that will give you the behavior you want to see. If not, if you will explain what value your data source is supplying in this case, and how you are setting the CellType and CellValueType for this cell, then maybe we can suggest something else.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon