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"><<a href="/user/SendEmail.jtp?type=node&node=4647983&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></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: &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"><<a href="http://user/SendEmail.jtp?type=node&node=4647978&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></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: 'jQuery("#gridID").trigger("reloadGrid",[{page:1}]);');<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: 'save and update'.<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"><<a href="http://user/SendEmail.jtp?type=node&node=4647951&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></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: 'myJQGrid') call:'trigger' with:'reloadGrid'. <br><br><br><br><br><br>On 09/15/2012 05:23 AM, Sabine Knöfel wrote: </div></div>
<div>
<div>
<div>
<div><br>> Hi, <br>> <br>> I use JQWidgetBox and want to update the grid with data (which has changed <br>> outside). <br>> How can I force the whole Grid to update? <br>> How can I reload only one row? <br>
> <br>> It is something with <br>> <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>
> trigger("reloadGrid") <div><div class='shrinkable-quote'><br>> <br>> but I have no idea how to call this from smalltalk. <br>> Sabine <br>> <br>> <br>> <br>> -- <br>> 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>
> Sent from the Seaside General mailing list archive at Nabble.com. <br>> _______________________________________________ <br>> seaside mailing list </div></div></div>> <a href="http://user/SendEmail.jtp?type=node&node=4647576&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a> </div>
> <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>> </div><br>_______________________________________________ <br>
seaside mailing list <br><a href="http://user/SendEmail.jtp?type=node&node=4647576&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&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&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&node=4647978&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&node=4647978&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&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&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/>