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.

DBG Dates

Thread ID:

Created:

Updated:

Platform:

Replies:

18848 Sep 10,2004 07:39 AM Sep 10,2004 08:27 AM Windows Forms 2
loading
Tags: GridControl
Gordon Rhea
Asked On September 10, 2004 07:39 AM

Hi, I''ve got a DBG that is taking data from an Oracle table. One of the columns of the table is in DateTime format and when the grid loads it it is using a calender cell type. I need it to be just a normal text cell. How do I force it to display the date as normal text? Thanks, Gordon

Administrator [Syncfusion]
Replied On September 10, 2004 08:18 AM

There is a static (Shared in VB) member of the GridModelDataBinder.AutoInitCellTypes that you can set to control this functionality. So, at the top of your form’s constructor, before the call to InitializeComponent(), you can add: GridModelDataBinder.AutoInitCellTypes = false;

Gordon Rhea
Replied On September 10, 2004 08:27 AM

That did the trick. Thanks for the quick respons.

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.

;