|
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>
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
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!
|
|
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!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
You are welcome. Please feel free to let us know if there is anything else.
Thanks!
|
|
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!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Great. Thanks for the update!
|
|