How to change the hight of the flexigrid dynamically

453 views
Skip to first unread message

Larry Yang

unread,
Mar 8, 2010, 9:53:26 PM3/8/10
to flex...@googlegroups.com
hello everyone:
        how to change the hight of the flexigrid dynamically

Fernando Cesar

unread,
Mar 9, 2010, 7:20:37 AM3/9/10
to flex...@googlegroups.com
More specific?!

On Mon, Mar 8, 2010 at 11:53 PM, Larry Yang <larryya...@gmail.com> wrote:
hello everyone:
        how to change the hight of the flexigrid dynamically

--
You received this message because you are subscribed to the Google Groups "Flexigrid for jQuery" group.
To post to this group, send email to flex...@googlegroups.com.
To unsubscribe from this group, send email to flexigrid+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flexigrid?hl=en.



--
Att,
Fernando Cesar
Fone 9958-6122

㊣Sky

unread,
Mar 9, 2010, 8:02:26 AM3/9/10
to flexigrid
like ,i want to change the size of the web page ,and i want the height of flexigrid to be changed too,how can do it?

thank you
 
 
 
------------------ Original ------------------
From:  "Fernando Cesar"<flash...@gmail.com>;
Date:  Tue, Mar 9, 2010 08:20 PM
To:  "flexigrid"<flex...@googlegroups.com>;
Subject:  Re: How to change the hight of the flexigrid dynamically
Message has been deleted

genix

unread,
Mar 9, 2010, 10:15:05 AM3/9/10
to Flexigrid for jQuery
Hi,

i would do something like that:

var windowHeight = jQuery(window).height();

jQuery(window).resize(function(){
var diffH = jQuery(window).height() - windowHeight;

windowHeight = jQuery(window).height();

jQuery(".flexigrid").height(jQuery(".flexigrid").height() +
diffH);
});

Should work like that.

Greets,
genix


On Mar 9, 2:02 pm, "㊣Sky" <larryyangch...@gmail.com> wrote:
> like ,i want to change the size of the web page ,and i want the height of flexigrid to be changed too,how can do it?
>
> thank you
>
> ------------------ Original ------------------

> From: "Fernando Cesar"<flashna...@gmail.com>;


> Date: Tue, Mar 9, 2010 08:20 PM
> To: "flexigrid"<flex...@googlegroups.com>;
>
> Subject: Re: How to change the hight of the flexigrid dynamically
>
> More specific?!
>

> On Mon, Mar 8, 2010 at 11:53 PM, Larry Yang <larryyangch...@gmail.com> wrote:
>
> hello everyone: how to change the hight of the flexigrid dynamically
>
> --
> You received this message because you are subscribed to the Google Groups "Flexigrid for jQuery" group.
> To post to this group, send email to flex...@googlegroups.com.
> To unsubscribe from this group, send email to flexigrid+...@googlegroups.com.

> For more options, visit this group athttp://groups.google.com/group/flexigrid?hl=en.

Reply all
Reply to author
Forward
0 new messages