bbm Posted April 15, 2020 Share Posted April 15, 2020 Hi, I use an external css-file for treeview. .tvcolor .x-tree-view { background-color: #F0F0F0; } .tvcolor .x-tree-view .x-grid-cell-inner-treecolumn { background-color: #F0F0F0; } Now I have the problem, that I want to have a special color for a selected item (also mouse move over) and no border for the selected item. Any body who can help me? Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2020 Share Posted April 15, 2020 14 minutes ago, bbm said: Now I have the problem, that I want to have a special color for a selected item (also mouse move over) Hi, .tvcolor .x-tree-view { background-color: #F0F0F0; } .tvcolor .x-tree-view .x-grid-item { background-color: #F0F0F0; } .tvcolor .x-tree-view .x-grid-item-over { background-color: lime; } .tvcolor .x-tree-view .x-grid-item-selected { background-color: limegreen; } Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2020 Share Posted April 15, 2020 1 hour ago, bbm said: Now I have the problem, that I want to have a special color for a selected item (also mouse move over) and no border for the selected item. .tvcolor .x-tree-view { background-color: #F0F0F0; } .tvcolor .x-tree-view .x-grid-item { background-color: #F0F0F0; } .tvcolor .x-tree-view .x-grid-item-over { background-color: lime; } .tvcolor .x-tree-view .x-grid-item-selected { background-color: limegreen; } .tvcolor .x-tree-view .x-grid-item-focused .x-grid-cell-inner:before { border: none; } Quote Link to comment Share on other sites More sharing options...
bbm Posted April 15, 2020 Author Share Posted April 15, 2020 Hi, thank you very much for your really quick support. It works fine. Where can I find this information? Or is that years of experience and corresponding knowledge? Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2020 Share Posted April 15, 2020 15 minutes ago, bbm said: Where can I find this information? Or is that years of experience and corresponding knowledge? Hi, This is a difficult question than the previous one. Well, here mainly need to learn ExtJS CSS classes, also analyze them using web tools... Quote Link to comment Share on other sites More sharing options...
bbm Posted April 15, 2020 Author Share Posted April 15, 2020 Hi, OK, then I will come back to you, if I have another question. I think this is the better way . Thanks again Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2020 Share Posted April 15, 2020 OK, thank you. Yes, of course, we will try to help. 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.