MSMK Posted September 4, 2018 Share Posted September 4, 2018 как отобразить свои иконки в узлах uniDBTreeGrid??? пробовал через onFieldImage, событие заменяет текст в узле на картинку Link to comment Share on other sites More sharing options...
Sherzod Posted September 4, 2018 Share Posted September 4, 2018 Добрый день, Простите, можете уточнить Ваш вопрос ?! Link to comment Share on other sites More sharing options...
MSMK Posted September 4, 2018 Author Share Posted September 4, 2018 Добрый день, Простите, можете уточнить Ваш вопрос ?! Возможно ли заменить стандартные иконки в компоненте uniDBTreeGrid на свои Link to comment Share on other sites More sharing options...
Sherzod Posted September 4, 2018 Share Posted September 4, 2018 Стандартные, могут быть заменены примерно так (с помощью CSS) 1. function beforeInit(sender, config) { config.cls='customicons'; } 2. Custom CSS: .customicons .x-tree-icon-leaf { background-image: url(...); } .customicons .x-tree-icon-parent { background-image: url(...); } .customicons .x-grid-tree-node-expanded .x-tree-icon-parent { background-image: url(...); } Link to comment Share on other sites More sharing options...
MSMK Posted September 4, 2018 Author Share Posted September 4, 2018 Стандартные, могут быть заменены примерно так (с помощью CSS) 1. function beforeInit(sender, config) { config.cls='customicons'; } 2. Custom CSS: .customicons .x-tree-icon-leaf { background-image: url(...); } .customicons .x-tree-icon-parent { background-image: url(...); } .customicons .x-grid-tree-node-expanded .x-tree-icon-parent { background-image: url(...); } а если мне нужно, чтоб в конкретном узле была своя иконка? Link to comment Share on other sites More sharing options...
MSMK Posted September 10, 2018 Author Share Posted September 10, 2018 похоже нету вариантов решения по этому вопросу? Link to comment Share on other sites More sharing options...
Sherzod Posted September 10, 2018 Share Posted September 10, 2018 Я проанализирую, и дам Вам знать... Link to comment Share on other sites More sharing options...
MSMK Posted September 10, 2018 Author Share Posted September 10, 2018 2 minutes ago, Sherzod said: Я проанализирую, и дам Вам знать... Спасибо Шерзод Link to comment Share on other sites More sharing options...
MSMK Posted October 8, 2018 Author Share Posted October 8, 2018 On 9/10/2018 at 4:09 PM, Sherzod said: Я проанализирую, и дам Вам знать... как дела по поводу иконок? есть какие новости? 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