<div dir="ltr">Hi guys, <div><br></div><div>I have just started to use JQDialog...because it is already integrated and very easy to use. In my case, I have tables where for some columns, the contents shows a link to open a popup. With a table of around 250 items and 3 or 4 columns with popups..that is ... 1000 JQDialog instances at render time, it gets very slow! The table passes from 1s to render to 3s! :(</div>
<div><br></div><div>I have benchmarked everything. From the server side, the response is fast. I have even tried by specifying no html (so the popup does simply nothing....and same results). The way I create the dialogs and the button for them is:</div>
<div><br></div><div><div>div := html div</div><div>      <span class="" style="white-space:pre">        </span>script: (html jQuery new dialog</div><div><span class="" style="white-space:pre">                        </span>html: dialog; </div><div><span class="" style="white-space:pre">        </span>         <span class="" style="white-space:pre">        </span>title: anItem class label;</div>
<div><span class="" style="white-space:pre">        </span>         <span class="" style="white-space:pre">        </span>autoOpen: false;</div><div><span class="" style="white-space:pre">                        </span>draggable: true;</div><div><span class="" style="white-space:pre">                        </span>resizable: false;</div>
<div><span class="" style="white-space:pre">                        </span>position: &#39;top&#39;;</div><div><span class="" style="white-space:pre">                        </span>closeOnEscape: true;</div><div><span class="" style="white-space:pre">                        </span>maxWidth: 900;</div>
<div><span class="" style="white-space:pre">                        </span>width: 900;</div><div><span class="" style="white-space:pre">        </span>         <span class="" style="white-space:pre">        </span>addButton: &#39;Close&#39; do: html jQuery new dialog close).</div>
<div><span class="" style="white-space:pre">        </span>id := div ensureId.</div><div><span class="" style="white-space:pre">        </span></div><div> html anchor </div><div><span class="" style="white-space:pre">        </span>onClick: (html jQuery id: id) dialog open; </div>
<div><span class="" style="white-space:pre">        </span>with: (description toString: anItem).  ] </div></div><div><br></div><div>Is there a way to improve this? For example, there is no way to make the js dialog object creation lazy (upon button click)? I read that making the dialog not draggable and not resizable increases speed..but I tested and it was not that much. </div>
<div><br></div><div>From js profiling it looks like what it takes time is the dialog creation. </div><div><br></div><div>Thanks in advance, </div><div><br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br>

</div></div>