Change the size of a single line in a grid with setStyle ?

View: New views
4 Messages — Rating Filter:   Alert me  

Change the size of a single line in a grid with setStyle ?

by paulolopes81 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everBody


How can I change the size of a single line in a grid with setStyle.


Example: GridResultPaket.setStyle(x, -1,{backgroundColor :'#C0C0C0',color :'#708090', font-size:'9px' });

My probleme is with "font-size" it does't work !

 kind regards



Re: Change the size of a single line in a grid with setStyle ?

by François Lion :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

please, just update the file style/defaultSkin.css.

and use fontSize attribute (not font-size).

François

--- In rialto-dev@..., "paulolopes81" <paulolopes81@...> wrote:

>
> Hi everBody
>
>
> How can I change the size of a single line in a grid with setStyle.
>
>
> Example: GridResultPaket.setStyle(x, -1,{backgroundColor :'#C0C0C0',color :'#708090', font-size:'9px' });
>
> My probleme is with "font-size" it does't work !
>
>  kind regards
>



Parent Message unknown Re: Re: Change the size of a single line in a grid with setStyle ?

by paulolopes81 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


 Hi Francois,
thank 's for your answer.

I have download in the  rialto site the new version of the defaultskin.css file  and I change my code as you tell me. But it does't work .
 

if ((paket== "" )||(paket == null )){
GridResultPaket.setStyle(x, -1, {fontSize:'8px' });

}
 
it's my code wrong ???????
 
Merci d'avance


     

Re: Change the size of a single line in a grid with setStyle ?

by Cyril Balit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

Did you use the css from the svn repository ?

https://svn.improve.fr/rialto/Rialto-coreV1/rialtoEngine/style/defaultSkin.css

Cyril



--- In rialto-dev@..., Paulo Lopes <paulolopes81@...> wrote:

>
>
>  Hi Francois,
> thank 's for your answer.
>
> I have download in the  rialto site the new version of the defaultskin.css file  and I change my code as you tell me. But it does't work .
>  
>
> if ((paket== "" )||(paket == null )){
> GridResultPaket.setStyle(x, -1, {fontSize:'8px' });
>
> }
>  
> it's my code wrong ???????
>  
> Merci d'avance
>