|
Re: Table Javascript runnaway script [message #40958 is a reply to message #40768] |
Thu, 26 July 2007 10:21   |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Adam,
Firefox asks to stop the script due to the bad performance of the Table
in some respects. We are working on this.
Concerning the setWidth and colgroup, I am not sure that means.
Cheers,
Rüdiger
Adam Hamel wrote:
> Bug found Testing with Firefox 2.0.0.5 with the SWT Controls Demo
>
> If you load the "Table" test
> 1) add about 28 columns
> 2) add about 55 rows
>
> then just attempt to resize a column. Causes a runnaway script. Firefox
> asks if you would like to stop the script. This is also a very slow
> delay. Sounds like maybe a setWidth is being called on the JS table
> instead of maybe using colgroup object.
|
|
|
|
Re: Table Javascript runnaway script [message #41082 is a reply to message #41051] |
Thu, 26 July 2007 18:29  |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Adam Hamel wrote:
> Rüdiger Herrmann wrote:
>> Adam,
>>
>> Firefox asks to stop the script due to the bad performance of the
>> Table in some respects. We are working on this.
>> Concerning the setWidth and colgroup, I am not sure that means.
>>
>> Cheers,
>> Rüdiger
>>
>>
>> Adam Hamel wrote:
>>> Bug found Testing with Firefox 2.0.0.5 with the SWT Controls Demo
>>>
>>> If you load the "Table" test
>>> 1) add about 28 columns
>>> 2) add about 55 rows
>>>
>>> then just attempt to resize a column. Causes a runnaway script.
>>> Firefox asks if you would like to stop the script. This is also a
>>> very slow delay. Sounds like maybe a setWidth is being called on the
>>> JS table instead of maybe using colgroup object.
>
> After inspecting the runtime HTML Dom It appears that the Table Widget
> isn't using a table at all. It looks like it is using just divs to give
> the appearance of a table. HTML tables have a <colgroup> tag that
> determine column properties including width, and I thought maybe the
> Table was using that tag. That is what I meant by colgroup. Sorry for
> the confusion.
ah, now I got it. In the future we might switch the implementation to
use a table if this further improves performance. But for now, as you
already discovered, its only divs.
Rüdiger
>
> Adam
|
|
|
Powered by
FUDForum. Page generated in 0.02004 seconds