erich.wanker Posted July 25, 2018 Share Posted July 25, 2018 Hy, after updatig to uniGui 1.10.0.1471 / extjs 6.5.3 following code are not working : .. i want to change the color of "selected row" to green .. and the text should be white unselected rows are gray .. text black UniHTMLFrame1.HTML.Append ('.x-grid-body { '); UniHTMLFrame1.HTML.Append ('background: #E8E8E8;'); UniHTMLFrame1.HTML.Append ('}'); UniHTMLFrame1.HTML.Append ('.x-grid-cell {'); UniHTMLFrame1.HTML.Append ('background-color: #E8E8E8;'); UniHTMLFrame1.HTML.Append ('}'); UniHTMLFrame1.HTML.Append ('.x-grid-row-focused .x-grid-td { '); UniHTMLFrame1.HTML.Append (' -webkit-border-radius: 0px; '); UniHTMLFrame1.HTML.Append (' border-radius: 0px; '); UniHTMLFrame1.HTML.Append ('} '); UniHTMLFrame1.HTML.Append ('.x-grid .x-grid-column { '); UniHTMLFrame1.HTML.Append (' height: 18px ; '); UniHTMLFrame1.HTML.Append (' line-height: 18px ; '); UniHTMLFrame1.HTML.Append (' padding: 0 8px ; '); UniHTMLFrame1.HTML.Append (' vertical-align: middle ; '); UniHTMLFrame1.HTML.Append ('} '); UniHTMLFrame1.HTML.Append ('.x-grid-row-selected .x-grid-td { '); UniHTMLFrame1.HTML.Append (' background-color: #578a59; '); UniHTMLFrame1.HTML.Append (' color: white; '); UniHTMLFrame1.HTML.Append (' font-weight: bold; '); UniHTMLFrame1.HTML.Append ('} '); UniHTMLFrame1.HTML.Append ('.x-grid-row .x-grid-cell-selected { '); UniHTMLFrame1.HTML.Append (' background-color: #578a59; '); UniHTMLFrame1.HTML.Append (' color: white; '); UniHTMLFrame1.HTML.Append (' font-weight: bold; '); UniHTMLFrame1.HTML.Append ('} '); UniHTMLFrame1.HTML.Append ('.x-grid-item { '); UniHTMLFrame1.HTML.Append (' color: #000; '); UniHTMLFrame1.HTML.Append (' font: normal 12px arial, verdana, sans-serif; '); UniHTMLFrame1.HTML.Append (' background-color: #fff; '); UniHTMLFrame1.HTML.Append ('} '); Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 25, 2018 Share Posted July 25, 2018 Hi, Why you are using UniHTMLFrame1 for this ?! Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted July 25, 2018 Author Share Posted July 25, 2018 ...what is better ? .. if i write this in servermodule / custonCSS - it didn´t work .. if i write it in my css-file (what i load in html meta) it didn´t work Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.