EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 05:57:26 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
>
Nowrap doesn't work.
Pages: [
1
]
« previous
next »
Print
Author
Topic: Nowrap doesn't work. (Read 4667 times)
NortT
Newbie
Posts: 18
Nowrap doesn't work.
«
on:
October 28, 2017, 08:46:02 AM »
Hello, the nowrap property of datagreed doesn't work for me. Why is that? Could you give me an example of how to use it? Maybe I'm doing something wrong?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Nowrap doesn't work.
«
Reply #1 on:
October 28, 2017, 05:32:17 PM »
Please look at this example
http://code.reloado.com/ijelif4/edit#javascript,html,live
. It works fine.
Logged
NortT
Newbie
Posts: 18
Re: Nowrap doesn't work.
«
Reply #2 on:
October 30, 2017, 02:15:25 AM »
Hi stworthy, it works fine for every row, except the header row. How can I apply nowrap for the header row?
Logged
NortT
Newbie
Posts: 18
Re: Nowrap doesn't work.
«
Reply #3 on:
October 31, 2017, 08:25:48 PM »
Any ideas?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Nowrap doesn't work.
«
Reply #4 on:
November 01, 2017, 07:32:07 AM »
Please append this code to your page.
Code:
<style>
.datagrid-header .datagrid-cell{
white-space: normal;
}
</style>
Logged
NortT
Newbie
Posts: 18
Re: Nowrap doesn't work.
«
Reply #5 on:
November 01, 2017, 07:38:39 AM »
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...