I think you can specify the column width, I don't know about height...

For the headers, you can use labels instead of model field name... There is
an other thread of I about that let me find it.

Richard

On Fri, Oct 15, 2010 at 9:22 PM, Percy <[email protected]> wrote:

> Also, I was wondering: is there a way for jqgrid columns to have an
> "auto expand" or "auto width" etc. property? I know you can set the
> col_width attribute with numerical values, but I was hoping for
> something more dynamic.
>
> Thanks again!
>
> -Percy
>
> On Oct 15, 4:27 pm, Richard Vézina <[email protected]>
> wrote:
> > In a view you can do this :
> >
> > {{=plugin_wiki.widget('jqgrid',tablename,width=900,height=400)}}
> >
> > Richard
> >
> > On Fri, Oct 15, 2010 at 5:01 PM, Percy <[email protected]> wrote:
> > > Hello,
> >
> > > I am wondering if a jqgrid table can be resized? Currently I have the
> > > following code:
> >
> > > displayrows=plugin_wiki.widget('jqgrid',db.entry,'','','','divtest','',
> > > 250,500)
> >
> > > And no matter which numbers I enter for the last two parameters (width
> > > and height according to
> > >http://web2py.com/book/default/chapter/13?search=jqgrid),
> > > there seems to be no visual effect when I view my jqgrid in my app. Am
> > > I doing something wrong, or is there a way other than changing
> > > parameters to further edit a jqgrid's look and size?
> >
> > > Thank you.
> >
> > > -Percy
> >
> >
>

Reply via email to