Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by amhicraig@yahoo.com on Dec 17, 2007 08:50
open dhtmlx forum
grid skins

There are 5 skins avalable.viz....xp,modern,light,clear,mt

Can i change these like making there colors lighter....etc....(basically override them or some of there color schemes myself)

 

This thought comes to my mind because i have a feeling that each one of them has a css associated with them.So i can go and modify the skins css.Can i do that ?

 

 

 

   

Answer posted by Support on Dec 17, 2007 09:57
>>So i can go and modify the skins css.Can i do that ?
Sure, all skins stored in two files
    dhtmxlgrid.css            <<main css
    dhtmlxgrid_skins.css   <<additional skins

there are set of default rules, such as
    div.gridbox table.hdr td
    div.gridbox table.obj td
    ...
and their variations for each skin
    div.gridbox_modern table.hdr td
    div.gridbox_modern table.obj td

value specified as "_modern" -  point to used skin

Actually you can add any new skin just by creating css rules with new skin name.