Welcome Guest Search | Active Topics | Sign In | Register

Grid Static Column - Wrap Text Options
Dave
Posted: Thursday, July 3, 2008 2:18:22 PM
Rank: Advanced Member
Groups: Member

Joined: 4/4/2008
Posts: 46
This may be a stupid question.....

Is there a property that allows a static column to wrap text withing each cell???

Seems like I've done this before.

Thanks,

Dave
eo_support
Posted: Thursday, July 3, 2008 2:57:10 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi Dave,

You would apply "word-wrap: break-word" on your column style. For example:

Code: HTML/ASPX
<ColumnTemplates>
    <eo:StaticColumn>
        <CellStyle CssText="word-wrap: break-word"></CellStyle>
    </eo:StaticColumn>
</ColumnTemplates>


You would however need to increase ItemHeight property because that one does not automatically increase based on the number of lines, which itself also makes this solution a bit limited.

Thanks
Dave
Posted: Friday, July 4, 2008 5:28:40 AM
Rank: Advanced Member
Groups: Member

Joined: 4/4/2008
Posts: 46
Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.