dbf_usr Posted March 27, 2020 Share Posted March 27, 2020 Как в UniDBGrid сделать перенос текста в ячейке на следующую строку. Высота строки не важна, важна ширина. Все за ранее благодарен за ответы! Quote Link to comment Share on other sites More sharing options...
Dinkin Posted March 27, 2020 Share Posted March 27, 2020 Я через html перенос делал "</b>"; Quote Link to comment Share on other sites More sharing options...
dbf_usr Posted March 27, 2020 Author Share Posted March 27, 2020 А как делали? Покажите пожалуйста. 3 hours ago, Dinkin said: Я через html перенос делал "</b>"; Quote Link to comment Share on other sites More sharing options...
Dinkin Posted March 27, 2020 Share Posted March 27, 2020 на уровне запроса SELECT pole1 + '</b>' +pole2 FROM MyTable Quote Link to comment Share on other sites More sharing options...
stas Posted March 27, 2020 Share Posted March 27, 2020 Какой ужас. Column.DisplayMemo Quote Link to comment Share on other sites More sharing options...
dbf_usr Posted March 28, 2020 Author Share Posted March 28, 2020 On 3/27/2020 at 8:18 PM, stas said: Какой ужас. Column.DisplayMemo А это как? Можно примерчик маленький? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 29, 2020 Share Posted March 29, 2020 11 hours ago, dbf_usr said: Можно примерчик маленький? UniDBGrid.Columns->Column[xx] Quote Link to comment Share on other sites More sharing options...
stas Posted March 30, 2020 Share Posted March 30, 2020 Кстати, я не понимаю, почему Фаршад не использует стандартный метод, я от версии к версии переделываю. if Column.DisplayMemo then JSConfig('cellWrap', [true], JSCol); //extjs // JSConfig('tdCls', ['x-uni-grid-cell-normal'], JSCol); //unigui 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.