<p dir="ltr">I am doing that exactly but with Bootstrap modal.</p>
<p dir="ltr">I attach a click listener to the table that loads the content of the modal asynchronously,  and then shows it.</p>
<div class="gmail_quote">El jun 20, 2014 4:05 PM, &quot;Paul DeBruicker&quot; &lt;<a href="mailto:pdebruic@gmail.com">pdebruic@gmail.com</a>&gt; escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Johan is right, but another path is instead have the link in the cell create<br>
then open the dialog, rather than creating all of the dialogs.  Or just have<br>
one dialog right before the closing body tag and have the link in the cell<br>
load the dialogs contents via ajax and then open it.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Mariano Martinez Peck wrote<br>
&gt; Hi guys,<br>
&gt;<br>
&gt; I have just started to use JQDialog...because it is already integrated and<br>
&gt; very easy to use. In my case, I have tables where for some columns, the<br>
&gt; contents shows a link to open a popup. With a table of around 250 items<br>
&gt; and<br>
&gt; 3 or 4 columns with popups..that is ... 1000 JQDialog instances at render<br>
&gt; time, it gets very slow! The table passes from 1s to render to 3s! :(<br>
&gt;<br>
&gt; I have benchmarked everything. From the server side, the response is fast.<br>
&gt; I have even tried by specifying no html (so the popup does simply<br>
&gt; nothing....and same results). The way I create the dialogs and the button<br>
&gt; for them is:<br>
&gt;<br>
&gt; div := html div<br>
&gt;       script: (html jQuery new dialog<br>
&gt; html: dialog;<br>
&gt;          title: anItem class label;<br>
&gt;          autoOpen: false;<br>
&gt; draggable: true;<br>
&gt; resizable: false;<br>
&gt; position: &#39;top&#39;;<br>
&gt; closeOnEscape: true;<br>
&gt; maxWidth: 900;<br>
&gt; width: 900;<br>
&gt;          addButton: &#39;Close&#39; do: html jQuery new dialog close).<br>
&gt; id := div ensureId.<br>
&gt;  html anchor<br>
&gt; onClick: (html jQuery id: id) dialog open;<br>
&gt; with: (description toString: anItem).  ]<br>
&gt;<br>
&gt; Is there a way to improve this? For example, there is no way to make the<br>
&gt; js<br>
&gt; dialog object creation lazy (upon button click)? I read that making the<br>
&gt; dialog not draggable and not resizable increases speed..but I tested and<br>
&gt; it<br>
&gt; was not that much.<br>
&gt;<br>
&gt;&gt;From js profiling it looks like what it takes time is the dialog creation.<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Mariano<br>
&gt; <a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
<br>
&gt; seaside@.squeakfoundation<br>
<br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.world.st/With-several-JQDialog-it-gets-very-slow-tp4763985p4764003.html" target="_blank">http://forum.world.st/With-several-JQDialog-it-gets-very-slow-tp4763985p4764003.html</a><br>

Sent from the Seaside General mailing list archive at Nabble.com.<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div>