Improving GridLabelRenderer performance

I’m using the GridLabelRenderer mixin to add some visual annotations to my row labels. Everything was smooth sailing until I tried loading a large data set. I thought maybe it had to do with drawing the bitmap, but just drawing the label using the renderer leads to poor performance. If you pop open the GridLabelRenderer and on line 59 change ROWS to 90000 and re-run, grab the scrollbar and jerk it down to the bottom. Bad things happens. Even trying to page down with the scrollbar leads to stuttering.

My grid is backed by a table and has no problem with massive data sets unless I turn on the GridLabelRenderer. Are there any tricks that can help me keep my UI responsive with large datasets without scrapping the custom renderer?

Are you in Virtual Mode?

···

On 22/02/13 22:24, Mears wrote:

  I'm using the GridLabelRenderer mixin to add some

visual annotations to my row labels. Everything was smooth
sailing until I tried loading a large data set. I thought maybe
it had to do with drawing the bitmap, but just drawing the label
using the renderer leads to poor performance. If you pop open the
GridLabelRenderer and on line 59 change ROWS to 90000 and re-run,
grab the scrollbar and jerk it down to the bottom. Bad things
happens. Even trying to page down with the scrollbar leads to
stuttering.

  My grid is backed by a table and has no problem with massive data

sets unless I turn on the GridLabelRenderer. Are there any tricks
that can help me keep my UI responsive with large datasets without
scrapping the custom renderer?

  --

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to .
For more options, visit .


Steve Gadget Barnes

wxpython-users+unsubscribe@googlegroups.com
https://groups.google.com/groups/opt_out

Yeah, my grid is virtual.

···

On Saturday, February 23, 2013 2:20:25 AM UTC-7, Gadget Steve wrote:

Are you in Virtual Mode?


Steve Gadget Barnes