Silverlgith gridview with formatting

5 posts, 0 answers
  1. wanlop
    wanlop avatar
    16 posts
    Member since:
    Nov 2010

    Posted 24 Feb 2011 Link to this post

    Hi Telerik team,

         I want to assign formatting to datetime or numerice collumn on grideview  with theme dll.
         How should i do?

    Best Regards,
    Mr.Wanlop
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 24 Feb 2011 Link to this post

    Hello Wanlop,

     

    I am not quite sure that I understand your requirement correctly. Can you please elaborate your problem a little bit more? You may also review our online documentaion about DataFormatting in RadGridView, following this link.

    Best wishes,
    Vanya Pavlova
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. wanlop
    wanlop avatar
    16 posts
    Member since:
    Nov 2010

    Posted 24 Feb 2011 Link to this post

    Hi,

    I already read your document online but my purpose is apply date formatting to "custom -theme".
    That mean i don't know about datatype of column during work on custom-theme.

    My objective is display any column that are datetime on "dd/mm/yyy" format and diaplay any coloumn
    that are currency on "9,999,999.99" format.

    Best Regards,
    Wanlop
  4. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 25 Feb 2011 Link to this post

    Hello Wanlop,

     
    Since the columns in RadGridView are not visual objects, you cannot create a style for a column and to integrate it in a theme. You may define the DataFormatString for a column as a StaticResource as it is described at the following forum thread "Set the DataFormatString using style/resource".

    Kind regards,
    Vanya Pavlova
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  5. wanlop
    wanlop avatar
    16 posts
    Member since:
    Nov 2010

    Posted 02 Mar 2011 Link to this post

    Hi,

    Thankyou for recommend. But just better if i can define "datetime format" and then
     use it on many collumns and controls without any modified my xaml file.

    Best Regards,
    Wanlop
Back to Top