Replace DateTime to just Date

2 posts, 0 answers
  1. Rutuja
    Rutuja avatar
    2 posts
    Member since:
    Jul 2017

    Posted 09 Aug 2017 Link to this post

    We are passing these fields as regular dates from SQL, however telerik is converting them to Date and Time stamp, which we do not want.

    Please tell us a way to add 'Date' DataType to a field and not DateTime.

  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3532 posts

    Posted 10 Aug 2017 Link to this post

    Hello Rutuja, 

    Thank you for writing.  

    RadGridView uses GridViewDateTimeColumn for displaying dates. You may enter the date and time directly into the editor or drop down the calendar to choose a date. The FormatString property sets the format of the date when the date is not currently being edited. The CustomFormat property is used to format the date once the user clicks on the cell to invoke the editor. Thus, you can specify the desired format for displaying only the date part of the DateTime value. Additional information for the GridViewDateTimeColumn is available in the following help article:

    I hope this information helps. Should you have further questions I would be glad to help.

    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top