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.

Would be possible to create separator rows as sections inside a grid

Thread ID:

Created:

Updated:

Platform:

Replies:

128103 Jan 2,2017 01:15 PM Jan 3,2017 07:52 AM ASP.NET Core 1
loading
Tags: Grid
dsapo
Asked On January 2, 2017 01:15 PM


Hello Support:

Would be possible to create separator rows as sections inside a grid, like this:

TODAY

1919191919110000FL
1828282828120000NY
JAN. 3, 2016

171717171712222AL
161616161616172727WA
JAN. 5. 2016

1616161616272.00AR
262626262626.29AK
2626262612625.00PR

if this wont be possible what other option do we have.

Appreciate all your help.

Regards,



David


Mani Sankar Durai [Syncfusion]
Replied On January 3, 2017 07:52 AM

Hi David, 

Thanks for contacting Syncfusion support. 

We have analyzed your query and we suspect that you are trying to achieve grouping functionality. To achieve your requirement we suggest you to enable grouping using AllowGrouping property of grid and by disabling the showGroupedColumn as false property of GroupSettings in grid. Also disable the ShowDropArea so that the group drop area will not be visible. 
Please refer the below code example. 
@{Html.EJ().Grid<Object>("FlatGrid") 
                            .Datasource((IEnumerable<object>)ViewBag.data) 
                            .AllowPaging() 
                            .AllowGrouping() 
                            .GroupSettings(group => { group.GroupedColumns(col => { col.Add("CustomerID"); }).ShowGroupedColumn(false).ShowDropArea(false); }) 
                            .Columns(col => 
                            { 
                                col.Field("EmployeeID").HeaderText("Employee ID").Add(); 
                                col.Field("CustomerID").HeaderText("Customer ID").Add(); 
                                col.Field("ShipCity").HeaderText("ShipCity").Add(); 
                                col.Field("Freight").HeaderText("Freight").Add(); 
                            }).Render(); 
} 
 


We have also prepared a sample that can be downloaded from the below link. 

Also refer the following documentation link. 

Please let us know if you need further assistance. 

Regards, 
Manisankar Durai. 


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.

;