ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: r_rich on January 06, 2016, 10:39:01 pm

Title: Wrap when no white space
Post by: r_rich 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.
Title: Re: Wrap when no white space
Post by: paramvir on January 07, 2016, 08:35:55 am
Add a css rule for the cell

Code: [Select]
.pq-grid-cell{
word-wrap: break-word;
}
Title: Re: Wrap when no white space
Post by: r_rich on January 11, 2016, 04:56:23 pm
That worked perfectly.

Thanks.