Welcome Guest Search | Active Topics | Sign In | Register

DataGrid - Cellobject Options
PRO POTSDAM GmbH
Posted: Thursday, January 19, 2017 9:13:25 AM
Rank: Advanced Member
Groups: Member

Joined: 6/17/2010
Posts: 35
When I load text into a cell and the cell is too small to display the text completely, the text is not displayed correctly because it is truncated at the place where the first space appears; However, the text has been correctly loaded into the cell.


cell-value for StaticColumn DataField="boss": 'Auswertungen Interessenverwaltung\App_Interessentenverwaltung_Lesen'
cell-width: 343
displayed text: 'Auswertungen'


DataGrid:

<eo:Grid ID="Grid3" Height="180px" Width="645px" BorderColor="#828790" BorderWidth="1px" ClientSideOnContextMenu="ShowContextMenu05"
ColumnHeaderDescImage="00050205" ColumnHeaderDividerImage="00050203" ColumnHeaderAscImage="00050204" ClientSideOnItemSelected="grid3Selected"
FixedColumnCount="1" Font-Bold="False" Font-Italic="False" Font-Names="Tahoma" FullRowMode="True"
Font-Overline="False" Font-Size="8.75pt" Font-Strikeout="False" Font-Underline="False" StyleSetIDField=""
GridLineColor="240, 240, 240" GridLines="Both" ItemHeight="18" runat="server" >
<FooterStyle CssText="padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;" />
<ItemStyles>
<eo:GridItemStyleSet>
<ItemStyle CssText="background-color:white;font-weight:solid" />
<AlternatingItemStyle CssText="background-color:#E0EAFF;font-weight:solid" />
<ItemHoverStyle CssText="background-repeat:repeat-x;" />
<SelectedHoverStyle CssText="background-repeat:repeat-x;" />
<CellStyle CssText="padding-left:8px;padding-top:2px;" />
</eo:GridItemStyleSet>
</ItemStyles>
<Columns>
<eo:StaticColumn DataField="pfad" HeaderText="gewählte Verzeichnisse" AllowResize="True" AllowSort="False" Width="145"></eo:StaticColumn>
<eo:StaticColumn DataField="boss" HeaderText="verantwortlich" AllowResize="True" AllowSort="False" Width="343"></eo:StaticColumn>
<eo:StaticColumn DataField="zugriff" HeaderText="Zugriff" AllowResize="True" AllowSort="False" Width="140"></eo:StaticColumn>
<eo:StaticColumn DataField="umsetz" HeaderText="Umsetzung durch" AllowResize="False" AllowSort="False" Width="0"></eo:StaticColumn>
</Columns>
<ColumnHeaderStyle CssText="background-image:url('00050202');padding-left:8px;padding-top:4px;" />
</eo:Grid>



eo_support
Posted: Thursday, January 19, 2017 9:16:04 AM
Rank: Administration
Groups: Administration

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

You can set the Grid's ItemHeight to a bigger value to accommodate the text. Currently the Grid is not capable of automatically adjust row height based on the contents. So the only way to display the long text is to increase the row height.

Thanks!
PRO POTSDAM GmbH
Posted: Friday, January 20, 2017 7:27:27 AM
Rank: Advanced Member
Groups: Member

Joined: 6/17/2010
Posts: 35
The space causes a carridge return. With a larger line height, the entry is then completely visible. Thats how it works. Thanks!
eo_support
Posted: Friday, January 20, 2017 7:40:06 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
You are welcome. Please feel free to let us know if there is anything else.

Thanks!
PRO POTSDAM GmbH
Posted: Wednesday, February 1, 2017 5:03:05 AM
Rank: Advanced Member
Groups: Member

Joined: 6/17/2010
Posts: 35
With the build 17.0.40.0 it works now.
The build 17.0.39.0 I have not tested.
Thanks!
eo_support
Posted: Wednesday, February 1, 2017 8:18:36 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Great. Thanks for the update!


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.