EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 03:13:54 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Carriage Return in field of datagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Carriage Return in field of datagrid (Read 10472 times)
acreonte82
Jr. Member
Posts: 85
Carriage Return in field of datagrid
«
on:
November 11, 2013, 09:09:54 AM »
Hello to all,
is it possibile to force the carriage Return of a text in some columns of datagrid?
at the moment my definition is:
Code:
<th field="note" width="auto" >Note</th>
But if I've a long text this solution is not good...
Any suggestion?
Logged
acreonte82
Jr. Member
Posts: 85
Re: Carriage Return in field of datagrid
«
Reply #1 on:
November 13, 2013, 07:02:39 AM »
No idea???
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Carriage Return in field of datagrid
«
Reply #2 on:
November 13, 2013, 05:23:08 PM »
Try to set 'nowrap' property with false to display data in multiple lines.
Code:
$('#dg').datagrid({
nowrap:false
});
Logged
acreonte82
Jr. Member
Posts: 85
Re: Carriage Return in field of datagrid
«
Reply #3 on:
November 14, 2013, 03:36:39 AM »
Ok work thanks!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...