WebListBoxTD is a child of WebListBox, so you’re not sending an HTML table. But you can use HTML to format each cell however you want.
But…I don’t want to push if you have something working for now. Just wondering out loud if that’s not the fastest way to handle the grid you need short of changes to WebCanvas, jCanvas, or an entirely new and custom control.
I mostly use chrome and timing figures have come from that but I also tested Firefox, same issues.
I can do a more conclusive test if you like and publish my results with Explorer and any other browser I can find.
Did you see my second app Greg? It’s a dramatic difference when embedding/closing containers that have the canvas in them. This result is just acceptable (ie 1 secind) for drawing a 30 X 8 grid but drops off larger than that.
Just out of curiosity, when you draw the cell borders, are you drawing each individual one, or are you drawing all of the horizontal lines and all of the vertical ones? An 8x30 grid would require 240 DrawRect commands, whereas using lines, you could do it with 40 DrawLines (9 + 31).
Basically I Draw a Filled rect then a rect to simulate a border, so really that 480 rectangles.
I will test your method but I think the issue is a little deeper.