MSMK Posted December 14, 2018 Share Posted December 14, 2018 Доброе время суток! Столкнулся с проблемой в компоненте uniDBVerticalGrid. Не влезает текст в ячейку. Выставил DisplayMemo в True - Не помогло. Возможно ли реализовать растягивание строки как у компонента devExpress cxDBVerticalGrid. Тестовый проект verticalGrid.zip. Quote 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 Quote 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; } Спасибо, Шерзод! Все работает! Quote 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; } Quote 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??? 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.