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.
Syncfusion Feedback

Problem with filter and scrollbar

Thread ID:

Created:

Updated:

Platform:

Replies:

123452 Mar 18,2016 10:14 AM UTC Apr 5,2016 06:55 AM UTC ASP.NET MVC 3
loading
Tags: Grid
Stefania Solari
Asked On March 18, 2016 10:14 AM UTC

Hi,
I have a Grid with excel filter and scrollbar. I have changed the sample page grid/filteringmenu in this way:
    @(Html.EJ().Grid<EditableOrder>("Filtering")
        .Datasource((IEnumerable<object>)ViewBag.datasource)
        .AllowFiltering()
        .EnableHeaderHover()
        .FilterSettings(filter => { filter.FilterType(FilterType.Excel); })
        .AllowScrolling(true)
        .ScrollSettings(col => { col.Width("auto").Height("500"); })
        .PageSettings(page => { page.PageSize(50); })
        .AllowPaging(true)
        .IsResponsive(true)
        .Columns(col =>
        {
            col.Field("OrderID").HeaderText("Order ID").IsPrimaryKey(true).TextAlign(TextAlign.Right).Width(80).Add();
            col.Field("CustomerID").HeaderText("Customer ID").Width(100).Add();
            col.Field("EmployeeID").HeaderText("Employee ID").TextAlign(TextAlign.Right).Width(110).Add();
            col.Field("Freight").HeaderText("Freight").TextAlign(TextAlign.Right).Width(80).Format("{0:C2}").Add();
            col.Field("ShipCountry").HeaderText("Ship Country").Width(100).Add();
            col.Field("Verified").HeaderText("Verified").Width(90).Add();
        })
    )

The problem is that if I use the filter the scrollbar moves to the left. Can you please check the problem and help me?
Thank you.
Best regards,
Stefania Solari


Balaji Marimuthu [Syncfusion]
Replied On March 21, 2016 06:59 AM UTC


Hi Stefania,

Thanks for contacting Syncfusion support.

We have created a sample using provided code example and checked the mentioned issue. But we were unable to reproduce the reported issue from our side, the scrollbar doesn’t move to the left after performed the filtering operation. Sample: 

We have recorded the demo for your reference:  
filter

Kindly check the attached sample and video. If you still face the issue ,could you please share following information to reproduce the issue from our side, that will be helpful to provide a better solution at the earliest?

1.     Scenario to reproduce the issue.

2.     Essential studio & Browser version details.

3.     Sample if possible or modify the attached sample as issue reproducible.

4.   How do you change the filtering type Excel to Menu? We have set the filter type as below. Or Are you changing the filter type dynamically?


    .FilterSettings(filter => { filter.FilterType(FilterType.Menu); })

      

      


5.   Are you facing the issue with Menu filter or both filtering(Excel and Menu filter)?


Regards,
Balaji Marimuthu


Stefania Solari
Replied On April 4, 2016 05:11 PM UTC

Thank you for your answer. I've made som test and I've solved my problem.
Best regards,
Stefania Solari

Attachment: Cattura_89553d7a.rar

Prasanna Kumar Viswanathan [Syncfusion]
Replied On April 5, 2016 06:55 AM UTC

Hi Stefania,

We are happy to hear that your issue has been resolved.

Please let us know if you need any further assistance.

Regards,
Prasanna Kumar N.S.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.

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

;