MSMK Posted December 14, 2018 Share Posted December 14, 2018 Доброе время суток! Столкнулся с проблемой в компоненте uniDBVerticalGrid. Не влезает текст в ячейку. Выставил DisplayMemo в True - Не помогло. Возможно ли реализовать растягивание строки как у компонента devExpress cxDBVerticalGrid. Тестовый проект verticalGrid.zip. Link to comment Share on other sites More sharing options...
Sherzod Posted December 14, 2018 Share Posted December 14, 2018 Добрый день, Попробуйте этот Custom CSS, UniServerModule -> CustomCSS: .x-grid-cell-inner { white-space: initial; } 1 Link to comment Share on other sites More sharing options...
MSMK Posted December 14, 2018 Author Share Posted December 14, 2018 5 minutes ago, Sherzod said: Добрый день, Попробуйте этот Custom CSS, UniServerModule -> CustomCSS: .x-grid-cell-inner { white-space: initial; } Спасибо, Шерзод! Все работает! Link to comment Share on other sites More sharing options...
Sherzod Posted December 14, 2018 Share Posted December 14, 2018 Или же, используйте так...: 1. ClientEvents -> UniEvents -> function beforeInit: function beforeInit(sender, config) { config.cls='customVGrid'; } 2. UniServerModule -> CustomCSS: .customVGrid .x-grid-cell-inner { white-space: initial; } Link to comment Share on other sites More sharing options...
MSMK Posted December 14, 2018 Author Share Posted December 14, 2018 10 minutes ago, Sherzod said: Или же, используйте так...: 1. ClientEvents -> UniEvents -> function beforeInit: function beforeInit(sender, config) { config.cls='customVGrid'; } 2. UniServerModule -> CustomCSS: .customVGrid .x-grid-cell-inner { white-space: initial; } не могли бы Вы поделиться ресурсом, где подробно описаны все свойства grid и других компонентов, например тот же самый x-grid-cell-inner??? 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