[Seaside] Re: JQGrid browser window resize -> grid resize

Sabine Knöfel sabine.knoefel at gmail.com
Wed May 15 13:55:14 UTC 2013


Hi Karsten,

thanks that brought me to the solution:

rkaJs

^'jQuery(window).resize(function () {
     jQuery("#gridID").setGridWidth(jQuery(window).width() * 0.5);
    });'

Sabine

On Wed, May 15, 2013 at 11:29 AM, Karsten Kusche [via Smalltalk] <
ml-node+s1294792n4687726h1 at n4.nabble.com> wrote:

> Try that:
>
>
> http://stackoverflow.com/questions/2996431/detect-when-a-window-is-resized-using-javascript
>
> Karsten
>
> --
> Karsten Kusche - Dipl. Inf. (FH) - [hidden email]<http://user/SendEmail.jtp?type=node&node=4687726&i=0>
> Georg Heeg eK - Köthen
> Handelsregister: Amtsgericht Dortmund A 12812
>
> Am Mittwoch, 15. Mai 2013 um 11:22 schrieb Sabine Knöfel:
>
> Hi,
> I use JQGrid.
> I want the grid's width to be resized when the user changes the browser
> window's size.
>
> I have to call this
> jQuery("#targetGrid").setGridWidth(width);
> (
> http://www.trirand.com/jqgridwiki/doku.php?id=wiki:options&s[]=setgridwidth
> )
>
> I dont know how to implement this.
>
> Can anyone help?
>
> Greetings
> Sabine
>
>
>
> --
> View this message in context:
> http://forum.world.st/JQGrid-browser-window-resize-grid-resize-tp4687703.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4687726&i=1>
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4687726&i=2>
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://forum.world.st/JQGrid-browser-window-resize-grid-resize-tp4687703p4687726.html
>  To unsubscribe from JQGrid browser window resize -> grid resize, click
> here<http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4687703&code=c2FiaW5lLmtub2VmZWxAZ21haWwuY29tfDQ2ODc3MDN8MTA0OTM5MTYx>
> .
> NAML<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>
>




--
View this message in context: http://forum.world.st/JQGrid-browser-window-resize-grid-resize-tp4687703p4687821.html
Sent from the Seaside General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20130515/58ab1e09/attachment.htm


More information about the seaside mailing list