Column alignment breaks for custom columns

2 posts, 0 answers
  1. Andreas
    Andreas avatar
    12 posts
    Member since:
    Aug 2010

    Posted 01 Nov 2010 Link to this post

    I have an issue where column alignment breaks after the 10th grid row for custom columns. There is no difference in the behaviour during page load and during consecutive file explorer updates.

    The name and size columns are aligned correctly, but the custom columns are incorrectly aligned. See provided screenshot. The custom columns are added like this (server side)

    var createdDateColumn = new GridTemplateColumn
                HeaderText = GlobalResources_Projects.FileExplorer_CreatedDate,
                SortExpression = "CreatedDate",
                UniqueName = "CreatedDate",
                DataField = "CreatedDate",
    createdDateColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Left;

    I've tried to fix the issue by manually setting the column width to fix sizes on the server side, to no avail. This is done for all columns, including the standard 'name' and 'size'.

    GridColumn column = fileExplorer.Grid.Columns.FindByUniqueNameSafe(name);
    column.HeaderStyle.Width = Unit.Pixel(width);
    column.ItemStyle.Width = Unit.Pixel(width);

    Do you have any idea what the problem is?
  2. Fiko
    Fiko avatar
    1406 posts

    Posted 03 Nov 2010 Link to this post

    Hello Andreas,

    We are aware of such problem in the earlier version of the RadGrid control (the RadFileExplorer uses RadGrid in its right panel) but it is already fixed. Could you please update to the recent version and you should not experience the same problem?
    In case that the update do not help, could you please rework my test project in order to show the issue, open a new support ticket and send it back? I will check it and do my best to provide a working solution as soon as possible.

    Kind regards,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top