1 Dec 2006 11:02
Re: Traits.UI performance especially TableEditor
David C. Morrill schrieb: > Franz-Josef Reinhardt wrote: >> Hi, >> >> if I use the Traits.UI TableEditor with large Tables, eg. 3000 lines and >> 20 columns it takes almost 30 seconds from the configureTrais command >> till the TableEditor window appears. Same with the header sort. >> >> Any idea if there is a way to improve performance ? >> >> > > Try setting the TableEditor 'auto_size' trait to False (default is > True). The underlying wxWidgets code apparently has trouble doing the > 'auto_size' logic efficiently, which gets worse and worse as the number > of rows/cells increases. Let me know if that helps or not... > > Dave Morrill Hi Dave, great! This did the trick. Thanks a lot. The time it takes from configure Traits to having the TableEditor displayed goes from 40 to 15 seconds for a Table with more than 5000 rows and the haeder sort turns from unusable slow to very snappy. I'm so impressed by traits. Everything my boss wants to be build in is already there, and I just have to turn it on.(Continue reading)CU
CU
RSS Feed