Welcome Guest Search | Active Topics | Sign In | Register

Grid Wrapping a StaticColumn Options
Teju
Posted: Thursday, February 26, 2009 9:27:50 AM
Rank: Member
Groups: Member

Joined: 1/23/2009
Posts: 12
Hi,
I have been trying to wrap the text in the static column. I saw one of the examples as well on the forum which said something like this
Code: HTML/ASPX
<eo:StaticColumn>
		<CellStyle CssText="word-wrap:break-word;"></CellStyle>
</eo:StaticColumn>


I don't know whether it is a browser problem or something else. I can't get it to work
Any help will be much appreciated.
Many Thanks,
Teju
eo_support
Posted: Thursday, February 26, 2009 9:51:24 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Check your ItemHeight setting. You can see it working by trying the following steps with our sample project:

1. Load the sample project with Visual Studio;
2. Open Demos -> Grid -> Features -> Client Running Mode in design mode. Select the Grid in that page;
3. Modify ItemHeight from 20 to 40;
4. Bring up Grid Builder, select column "Topic";
5. Modify its Width from 300 to 100, modify its CellStyle to include "word-wrap:break-word";

Run the demo and you should see Topic column wraps into multiple lines.

Thanks!
Teju
Posted: Thursday, February 26, 2009 9:56:41 AM
Rank: Member
Groups: Member

Joined: 1/23/2009
Posts: 12
Hi,
Thank you ever so much. It works perfectly.
I must say thank you to the whole website. The response is so quick.
Teju


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.