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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DBG Dates

Thread ID:





18848 Sep 10,2004 11:39 AM UTC Sep 10,2004 12:27 PM UTC WinForms 2
Tags: GridControl
Gordon Rhea
Asked On September 10, 2004 11:39 AM UTC

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 12:18 PM UTC

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 12:27 PM UTC

That did the trick. Thanks for the quick respons.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon