Hi John,<br><br>ups - so easy :-). Thank you, this is a sufficient solution for me.<br><br>Sabine<br><br><div class="gmail_quote">On Tue, Sep 18, 2012 at 3:49 PM, John McKeon [via Smalltalk] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=4647983&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br>


<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>

        <div>Hi Sabine,</div>
<div>You can send more than one onClick: (). They execute in the order they are defined so you would move the onFocus: code before the existing onClick:</div>
<div> </div>
<div>html button</div>
<div>   onClick: (html prototype evaluator...);</div>
<div>   onClick: (JSStream on...);</div>
<div>   with: &amp;etc.</div>
<div> </div>
<div>Regarding the trigger script Johan suggested, maybe you need to add the additional argument using with: with: or one of it variants. It will probably look complex as you need an array of JSon objects but it would allow you to determine the page dynamically?</div>




<div> </div>
<div>Hope this helps</div>
<div> </div>
<div>John<br></div>
</div><div class="gmail_quote"><div>On Tue, Sep 18, 2012 at 8:18 AM, Sabine Knöfel <span dir="ltr">&lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4647978&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt;</span> wrote:<br>



</div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div>Sorry, I did not succeed with your code.<br>I suceeded in using the code below. <br><br>Now I have the problem, that with one click at the button, I want to do 2 things:<br>



1) do some saving of my data (prototype)<br>2) update the grid (jQuery)<br>Normally both should be done within the onClick: event.<br>But I can do only one thing within the onClick, so I encroached the onFocus: event.<br>



<br>I dont like this.<br><br>Anyone having a better way for this?<br>Sabine<br>-------------------------------------------------------------------------<br>html button<br>        <b>onClick</b>: (JSStream on: &#39;jQuery(&quot;#gridID&quot;).trigger(&quot;reloadGrid&quot;,[{page:1}]);&#39;);<br>



        <b>onFocus</b>:<br>                (html prototype evaluator<br>                        callback: [ :script | <br>                                    self save.....<br>                                    self update....<br>



                                     ];<br>                        return: false);<br>        disabled: self isSaveButtonEnabled not;<br>        script: (html jQuery this button primaryIcon: self iconSave);<br>       with: &#39;save and update&#39;.<br>



<br>
</div><div><div><div class="gmail_quote">
<div>On Sat, Sep 15, 2012 at 4:41 PM, Paul DeBruicker [via Smalltalk] <span dir="ltr">&lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4647951&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt;</span> wrote:<br>



</div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote">
<div>
<div>Looks like this might work: <br><br>(html jQuery id: &#39;myJQGrid&#39;) call:&#39;trigger&#39; with:&#39;reloadGrid&#39;. <br><br><br><br><br><br>On 09/15/2012 05:23 AM, Sabine Knöfel wrote: </div></div>
<div>
<div>
<div>
<div><br>&gt; Hi, <br>&gt; <br>&gt; I use JQWidgetBox and want to update the grid with data (which has changed <br>&gt; outside). <br>&gt; How can I force the whole Grid to update? <br>&gt; How can I reload only one row? <br>



&gt; <br>&gt; It is something with <br>&gt; <a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki%3Amethods" rel="nofollow" link="external" target="_blank">http://www.trirand.com/jqgridwiki/doku.php?id=wiki%3Amethods</a><br>



&gt; trigger(&quot;reloadGrid&quot;) <div><div class='shrinkable-quote'><br>&gt; <br>&gt; but I have no idea how to call this from smalltalk. <br>&gt; Sabine <br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; View this message in context: <a href="http://forum.world.st/JQGrid-update-grid-or-single-row-tp4647572.html" rel="nofollow" link="external" target="_blank">http://forum.world.st/JQGrid-update-grid-or-single-row-tp4647572.html</a></div>



&gt; Sent from the Seaside General mailing list archive at Nabble.com. <br>&gt; _______________________________________________ <br>&gt; seaside mailing list </div></div></div>&gt; <a href="http://user/SendEmail.jtp?type=node&amp;node=4647576&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a> </div>



&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="nofollow" link="external" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>&gt; </div><br>_______________________________________________ <br>



seaside mailing list <br><a href="http://user/SendEmail.jtp?type=node&amp;node=4647576&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a> <br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="nofollow" link="external" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>



<br><br>
<hr color="#cccccc" noshade size="1">

<div style="FONT:12px tahoma,geneva,helvetica,arial,sans-serif;COLOR:#444">
<div style="FONT-WEIGHT:bold">If you reply to this email, your message will be added to the discussion below:</div><a href="http://forum.world.st/JQGrid-update-grid-or-single-row-tp4647572p4647576.html" rel="nofollow" link="external" target="_blank">http://forum.world.st/JQGrid-update-grid-or-single-row-tp4647572p4647576.html</a> </div>




<div style="MARGIN-TOP:0.4em;FONT:11px/1.5em tahoma,geneva,helvetica,arial,sans-serif;COLOR:#666">To unsubscribe from JQGrid update grid or single row, <a rel="nofollow" link="external" target="_top">click here</a>.<br><a style="FONT:9px serif" href="http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" link="external" target="_blank">NAML</a> </div>



</blockquote></div><br><br>
</div></div><hr align="left" width="300">
View this message in context: <a href="http://forum.world.st/JQGrid-update-grid-or-single-row-tp4647572p4647951.html" rel="nofollow" link="external" target="_blank">Re: JQGrid update grid or single row</a><div>
 
<div>
<div><br>Sent from the <a href="http://forum.world.st/Seaside-General-f86180.html" rel="nofollow" link="external" target="_blank">Seaside General mailing list archive</a> at Nabble.com.<br></div></div><br>_______________________________________________<br>



seaside mailing list<br><a href="http://user/SendEmail.jtp?type=node&amp;node=4647978&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="nofollow" link="external" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>



<br></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://jmck.seasidehosting.st/" rel="nofollow" link="external" target="_blank">jmck.seasidehosting.st</a><div><br>
<br>_______________________________________________
<br>seaside mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=4647978&amp;i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="nofollow" link="external" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        </div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://forum.world.st/JQGrid-update-grid-or-single-row-tp4647572p4647978.html" target="_blank" rel="nofollow" link="external">http://forum.world.st/JQGrid-update-grid-or-single-row-tp4647572p4647978.html</a>
        </div><div><div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from JQGrid update grid or single row, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>



                <a href="http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/JQGrid-update-grid-or-single-row-tp4647572p4647983.html">Re: JQGrid update grid or single row</a><br/>
Sent from the <a href="http://forum.world.st/Seaside-General-f86180.html">Seaside General mailing list archive</a> at Nabble.com.<br/>