Completed
Last Updated: 01 Oct 2014 13:09 by ADMIN
ADMIN
Ivan Todorov
Created on: 07 Jul 2014 15:53
Category: GridView
Type: Bug Report
0
FIX. RadGridView - The close button of the GroupFieldElement overlays the text in RightToLeft mode
When RadGridView is in right to left mode and the data is grouped, the layout of the items that represent the group field names is incorrect - the close button overlays the text.

WORKAROUND:

        public Form83()
        {
            new RadControlSpyForm().Show();
            InitializeComponent();

            this.radGridView1.GroupByChanged += radGridView1_GroupByChanged;
        }

        void radGridView1_GroupByChanged(object sender, Telerik.WinControls.UI.GridViewCollectionChangedEventArgs e)
        {
            foreach (GroupFieldElement fieldElement in this.radGridView1.GridViewElement.GroupPanelElement.GetDescendants(
                delegate(RadElement element) { return element is GroupFieldElement; }, Telerik.WinControls.TreeTraversalMode.BreadthFirst))
            {
                fieldElement.TextAlignment = ContentAlignment.MiddleRight;
            }
        }
0 comments