This is a migrated thread and some comments may be shown as answers.

Grid not correct displayed when Wrap = false

1 Answer 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sébastien
Top achievements
Rank 1
Sébastien asked on 16 May 2017, 11:11 AM

Hi,

I open a RadWindow with a grid inside. The problem is that the right border does not appear correctly (See attached image).

<telerik:RadGrid ID="grdStList" runat="server" AutoGenerateColumns="False" Skin="Bootstrap">
    <MasterTableView NoMasterRecordsText="" DataKeyNames="VA_ARTIKEL" >                
        <Columns>
            <telerik:GridBoundColumn DataField="ANZAHL" UniqueName="ANZAHL">
                <HeaderStyle HorizontalAlign="Right" />
                <ItemStyle VerticalAlign="Top" HorizontalAlign="Right" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="VA_ARTIKEL" UniqueName="VA_ARTIKEL">
                <ItemStyle VerticalAlign="Top" />
            </telerik:GridBoundColumn>
            <telerik:GridTemplateColumn UniqueName="BEZEICHNUNG">
                <ItemStyle VerticalAlign="Top" Wrap="false"/>
                <ItemTemplate>
                    <span><%# Eval("BEZEICHNUNG").ToString & " " & Eval("BEZEICHNUNG_ZUSATZ1").ToString & " " & Eval("BEZEICHNUNG_ZUSATZ2").ToString%></span>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
    </MasterTableView>             
</telerik:RadGrid>

 

The last column has the attribute "Wrap='false'". If I remove this attribute, the grid is displayed correctly but then the width is not correct.

How can i avoid the text to wrap and have a grid that displays correctly ?

Thank you!

1 Answer, 1 is accepted

Sort by
0
Sébastien
Top achievements
Rank 1
answered on 01 Jun 2017, 08:12 AM
Is there no solution to this problem ?
Tags
Grid
Asked by
Sébastien
Top achievements
Rank 1
Answers by
Sébastien
Top achievements
Rank 1
Share this question
or