MSMK Posted September 4, 2018 Share Posted September 4, 2018 как отобразить свои иконки в узлах uniDBTreeGrid??? пробовал через onFieldImage, событие заменяет текст в узле на картинку Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 4, 2018 Share Posted September 4, 2018 Добрый день, Простите, можете уточнить Ваш вопрос ?! Quote Link to comment Share on other sites More sharing options...
MSMK Posted September 4, 2018 Author Share Posted September 4, 2018 Добрый день, Простите, можете уточнить Ваш вопрос ?! Возможно ли заменить стандартные иконки в компоненте uniDBTreeGrid на свои Quote 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(...); } Quote 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(...); } а если мне нужно, чтоб в конкретном узле была своя иконка? Quote Link to comment Share on other sites More sharing options...
MSMK Posted September 10, 2018 Author Share Posted September 10, 2018 похоже нету вариантов решения по этому вопросу? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 10, 2018 Share Posted September 10, 2018 Я проанализирую, и дам Вам знать... Quote 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: Я проанализирую, и дам Вам знать... Спасибо Шерзод Quote 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: Я проанализирую, и дам Вам знать... как дела по поводу иконок? есть какие новости? 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.