Author Topic: Wrap when no white space  (Read 2960 times)

r_rich

  • Newbie
  • *
  • Posts: 2
    • View Profile
Wrap when no white space
« on: January 06, 2016, 10:39:01 pm »
I have a read-only grid which is displaying folder\file names, for example:

C:\Windows\System32\drivers\etc\hosts

I want the column to wrap the text however as there is no whitespace it does not wrap.  Any ideas on how to resolve this issue?

Thanks.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Wrap when no white space
« Reply #1 on: January 07, 2016, 08:35:55 am »
Add a css rule for the cell

Code: [Select]
.pq-grid-cell{
word-wrap: break-word;
}

r_rich

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Wrap when no white space
« Reply #2 on: January 11, 2016, 04:56:23 pm »
That worked perfectly.

Thanks.