setting width of custom column

2 posts, 0 answers
  1. giancarlo
    giancarlo avatar
    7 posts
    Member since:
    Feb 2009

    Posted 22 Sep 2011 Link to this post

    I am using "creation date" as custom column. 

    this colum shows in the middle (depending on how big name of file and size are).    Is there a way to set up width and align all the way to left? for custom column ? 

    Thanks in advanced
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 26 Sep 2011 Link to this post

    Hi Giancarlo,

    In order to predefine the width of the custom column added to the grid in RadFileExplorer you need to set its header width, e.g.:
    gridTemplateColumn1.HeaderStyle.Width = Unit.Pixel(100);

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top