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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...