Jump to content

Styling UniStringGrid


MarBar77

Recommended Posts

I want to style UniStringGrid, but I have some problems,

 

1) First of all I assing own class to string grid using UniEvents:

 

function afterCreate(sender)
{
   sender.addCls('devStringGrid');
   sender.addBodyCls('devStringGrid');
}
 
2) in Custom CSS, I have tried several properties, but no one of them works:
 
eg.
 
.devStringGrid .x-panel-body-default{
  background: blue !important; 
  background-color: blue !important; 
}
 
.devStringGrid .x-grid-body{
  background: blue !important; 
  background-color: blue !important; 
}
 
and many many more :)
 
It is strange because I can stylize listboxes, panels, calendars etc. But StringGrid is annoying me. Maybe someone can put an example of styling StringGrid, I want to change background, font-size and selected cell color?

 

Link to comment
Share on other sites

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...