> -----------------------------------------
> {{extend 'layout.html'}}
> .tablewrapper{
> width:400px !important;
> }
<div class='tablewrapper'>
> {{=table}}
</div>
> ------------------------------------------


I guess it works. 

Em 15/02/2011, às 00:49, tomt <tom_tren...@yahoo.com> escreveu:

> Thanks for the response, but I had limited success. I can control the
> width of the scroll area, but not the header or trailer. I used the
> following options:
> 
>    table = plugins.powerTable
>    ...
>    table.dtfeatures['bAutoWidth'] = False
>    table._width='700'
> 
> (I wasn't quite sure what you meant by
> plugins.powerTable._width='400' )
> 
> I wasn't aware that I could put css in the view and the following
> attempt failed:
> 
> ------------------------------------------
> {{extend 'layout.html'}}
> .powerTable{
> width:400px !important;
> }
> {{=table}}
> ------------------------------------------
> 
> Any pointers?
> 
> 
> On Feb 13, 10:50 pm, Bruno Rocha <rochacbr...@gmail.com> wrote:
>> If you dont like to use CSS you can set it directly to the table.
>> 
>> plugins.powerTable._width='400'

Reply via email to