Parsing in Expression Columns

3 posts, 0 answers
  1. Jack
    Jack avatar
    3 posts
    Member since:
    Oct 2020

    Posted 11 Jan Link to this post

    Hi there, I am using a radgridview and want to allow users to select a format for data within columns, testing this for dates I noticed that it wasn't working for expression columns that contain a string representation of the data rather than a type such as DateTime, if I make one using Now() or Today() the format string does appear to work, is there a way to parse data in an expression column into a datatype?

  2. Jack
    Jack avatar
    3 posts
    Member since:
    Oct 2020

    Posted 12 Jan Link to this post

    Solved the issue by adding custom expression functions

    https://docs.telerik.com/devtools/wpf/controls/radgridview/columns/data-formatting

  3. Jack
    Jack avatar
    3 posts
    Member since:
    Oct 2020

    Posted 12 Jan in reply to Jack Link to this post

    Wrong link sorry, used custom functions documented here

    https://docs.telerik.com/devtools/wpf/controls/radexpressioneditor/expressions/custom-functions-and-categories

Back to Top