Completed
Last Updated: 27 May 2014 10:19 by ADMIN
ADMIN
Georgi I. Georgiev
Created on: 25 Nov 2013 11:15
Category: GridView
Type: Bug Report
1
RadGridView - RadDropDownListEditor is slow with 70000 items
To reproduce:
Add a RadGridView with a GridViewComboBoxColumn and add 70000 items as datasource. You will notice that openning it is slow.

Workaround:

Use the following custom editor:

public class MyEditor : RadDropDownListEditor
{
    protected override RadElement CreateEditorElement()
    {
        return new MyEditorElement()
        {
            SyncSelectionWithText = false
        };
    }
}

public class MyEditorElement : RadDropDownListEditorElement
{
    public override void NotifyOwner(PopupEditorNotificationData notificationData)
    {
        if (notificationData.notificationContext == PopupEditorNotificationData.Context.TextChanged && !this.SyncSelectionWithText)
        {
            return;
        }

        base.NotifyOwner(notificationData);
    }
}
0 comments