Jump to content

Recommended Posts

Posted

Доброе время суток! Столкнулся с проблемой в компоненте uniDBVerticalGrid. Не влезает текст в ячейку. Выставил  DisplayMemo в True -  Не помогло. Возможно ли реализовать растягивание строки как у компонента devExpress cxDBVerticalGrid. Тестовый проект verticalGrid.zip.  verticalGrid.jpg.ac8270792f891358f15688d115cf64ac.jpgvertGridDevExpress.jpg.8e11a51db89fe0858d5f53c96b690df6.jpg

Posted
5 minutes ago, Sherzod said:

Добрый день,

Попробуйте этот Custom CSS, UniServerModule -> CustomCSS:


.x-grid-cell-inner {
  white-space: initial;
}

 

Спасибо, Шерзод! Все работает!

Posted

Или же, используйте так...:

1. ClientEvents -> UniEvents -> function beforeInit:

function beforeInit(sender, config)
{
    config.cls='customVGrid';
}

2. UniServerModule -> CustomCSS:

.customVGrid .x-grid-cell-inner {
  white-space: initial;
}

 

Posted
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???

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...