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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Resizing grid with Detail Template

Thread ID:





126205 Sep 30,2016 05:23 PM UTC Oct 3,2016 12:26 PM UTC ASP.NET MVC 1
Tags: Grid
Asked On September 30, 2016 05:23 PM UTC


I have a grid with a Detail Template that is set as responsive and has four columns, each with a different priority:

        .AllowPaging().PageSettings(page => { page.PageSize(10); })
            filter => { filter.FilterType(FilterType.Excel); }
        .Columns(col =>
            col.Field(c => c.Col1).IsPrimaryKey(true).Width(75).Add();
            col.Field(c => c.Col2).Width(100).Priority(3).Add();
            col.Field(c => c.Col3).Width(120).Priority(1).Add();
            col.Field(c => c.Col4).TextAlign(TextAlign.Right).Width(100).Priority(2).AllowFiltering(false).Add();
        .ClientSideEvents(eve => { eve.DetailsDataBound("detailGridData"); })

If I resize the browser when the details are not visible, the grid behaves as expected and the columns are removed according to their priority, with the content properly aligned beneath them.

However, when the details are visible, the rows become 'shorter' and the content is no longer aligned with the headers.

Is there any way to fix this?


Attachment: grid_a6c76807.zip

Ragavee U S [Syncfusion]
Replied On October 3, 2016 12:26 PM UTC

Hi Fernanda, 

Thanks for your interest in Syncfusion products. 

We have analyzed the screenshots that you have shared. The Detail Template Grid doesn’t support priority columns feature. So it is not possible to achieve your requirement. 

Ragavee U S. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon