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 |
Try that:
http://stackoverflow.com/questions/2996431/detect-when-a-window-is-resized-using-javascript
Karsten
Karsten Kusche - Dipl. Inf. (FH) - [hidden email] Georg Heeg eK - Köthen Handelsregister: Amtsgericht Dortmund A 12812 Am Mittwoch, 15. Mai 2013 um 11:22 schrieb Sabine Knöfel:
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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] <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |