AD
Administrator
Syncfusion Team
May 1, 2003 05:26 AM UTC
This behavior is inherited from .NET. If you replace the GridListControl with a Windows Forms DataGrid, you see the same behavior.
To try to handle this, I think you would have to derive GridListControl and add your own custom type editior to the DataSource property that hides (with the 'new' keyword in C# or 'Shadows' in VB) the same property in the baseclass. In your custom editor, you would override CreateNewItemTypes and return whatever datasources you want to see in the list. How you get at the 'foreign' form, and its IList members would be up to you, but may take some workarounds as the .NET team did not choose to include them in their implementation.