We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Exist a form to expand the title grid to two rows

Thread ID:

Created:

Updated:

Platform:

Replies:

120877 Oct 23,2015 05:27 PM Oct 26,2015 05:29 AM ASP.NET Web Forms 1
loading
Tags: Grid
Roimer Machacón Otero
Asked On October 23, 2015 05:27 PM

Hi, we're using syncfusion grid and have a question, exist a form to expand the height of the title space of the grid?.

We're need show 25 columns but the header of each column appear very short, attached image with the example.

Attachment: image_title_row_2c8ff6be.rar

Gowthami V [Syncfusion]
Replied On October 26, 2015 05:29 AM

Hi Roimer,

Thanks for using Syncfusion products.

We can achieve your requirement using “AllowTextWrap” (Used for wrap the text to next line if the content length exceed the column width) property of the grid.

Refer to the below code example,

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">

 
           <ej:Grid ID="OrdersGrid" runat="server" AllowScrolling="true" AllowPaging="true" AllowTextWrap="true">
. . . .

</ej:Grid>
</asp:Content>


Refer to the below link for more clarification about “AllowTextWrap” property,

http://help.syncfusion.com/js/api/ejgrid#members:allowtextwrap

Refer to the below online demo sample for more clarification,

http://asp.syncfusion.com/demos/web/grid/autowrap.aspx

We have created a sample and the same can be downloaded from the following link,

http://www.syncfusion.com/downloads/support/forum/120877/ze/Sample-1883078305

Regards,
Gowthami V.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;