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.
Unfortunately, activation email could not send to your email. Please try again.

DateTime

Thread ID:

Created:

Updated:

Platform:

Replies:

33264 Aug 16,2005 11:10 PM Aug 17,2005 03:51 AM Windows Forms 1
loading
Tags: GridControl
Adam K.
Asked On August 16, 2005 11:10 PM

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 03:51 AM

>>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.

CONFIRMATION

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.

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.

;