MarBar77 Posted March 12, 2018 Share Posted March 12, 2018 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 More sharing options...
mos Posted April 12, 2018 Share Posted April 12, 2018 Hi MarBar77, Did you find a solution to this as I am also trying to add some styling to the div .x-grid-cell-inner in a UniStringGrid but this doesn't seem to be working? Link to comment Share on other sites More sharing options...
mhmda Posted April 16, 2018 Share Posted April 16, 2018 I don't think that there is easy way... I use the same technique as above. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now