EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: NortT on October 28, 2017, 08:46:02 AM



Title: Nowrap doesn't work.
Post by: NortT 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?


Title: Re: Nowrap doesn't work.
Post by: stworthy 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.


Title: Re: Nowrap doesn't work.
Post by: NortT 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?


Title: Re: Nowrap doesn't work.
Post by: NortT on October 31, 2017, 08:25:48 PM
Any ideas?


Title: Re: Nowrap doesn't work.
Post by: stworthy 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>


Title: Re: Nowrap doesn't work.
Post by: NortT on November 01, 2017, 07:38:39 AM
Thanks!