Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I customizing the LevelsProperty Sample so it is ordering the levels by Elevation. I already added the following line so everytime you open up the editor the levels are sorted by height
List<Level> levelsCollection = collector.OfClass(typeof(Level)).OfType<Level>().OrderBy(lev => lev.Elevation).ToList();
But i know it should also be possible to automatically update the datagridview when the editor is open. But i can't get it to work. any ideas? Thanks!
bindingSource1.Sort = "Elevation ASC";
Solved! Go to Solution.