Increase line height of a gridcontrol devexpress

Asked

Viewed 896 times

1

Gentlemen(s),

I have a gridcontrol of devexpress(12.1) being filled by a list, and I need to increase the line if the text is larger, and I need to do this dynamically (if the text fits the width, I don’t need to break the line).

print da grid do devexpress

I tried the "wrap" properties to try to break the line, but I was unsuccessful

1 answer

1

Using version 13.2 and the code below occurred the line break correctly.

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100px">
        <Columns>
            <asp:BoundField DataField="Dado1">
            <ItemStyle Wrap="True" />
            </asp:BoundField>
        </Columns>
    </asp:GridView>
  • Actually the grid I refer to is in a windows form, since the application is desktop. I tried to use the "wrap" property in the various possible properties related to text. It was still not possible...

  • https://www.devexpress.com/Support/Center/Question/Details/A8

  • This devexpress link will help. Hug

  • What I needed to do was mark the property of the field that needed breaking with Rowautoheight = true, and add a memoEdit into the field, inside the Devexpress designer. Solution link: https://www.devexpress.com/Support/Center/Question/Details/Q376637 I have already been able to implement this. Thanks @Eugenio Spolti

Browser other questions tagged

You are not signed in. Login or sign up in order to post.