Hi Helder,
Today Helder Magalhães wrote:
>
> Hi everyone,
>
>
> Tobias Oetiker-3 wrote:
> >
> > is the table widget realy faster by doing string manipulation
> > instead of jugging dom nodes ?
> >
>
> Good question. As browsers are getting faster and more efficient (I recall
> setting "innerHTML" was almost a hack which helped old browsers), I'm not
> sure if it applies anymore. Of couse that would mean a tremendous amount of
> work...
>
> In the meantime, that would probably help fixing
> http://bugzilla.qooxdoo.org/show_bug.cgi?id=2521 issue 2521 and maybe
> more...
I don't think the work would be that bad ... in the most simple
case, I would just asemble the html for a row as it is done now,
but instead of caching the html I would turn the row into a dom
object and cache this. later as the rows are asembled into a long
html string I would just add the dom nodes to the target in
question ...
in such a way the dom elements would keep all their attached stuff
... probably makeing tables faster as well as more stable in the
same turn.
obviously one could take a more radical aproach, but this would at
least solve the canvas distruction issue.
cheers
tobi
>
> Cheers,
> Helder
>
>
>
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel