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.

Filter dialog resizeable?

Thread ID:

Created:

Updated:

Platform:

Replies:

131238 Jun 30,2017 03:32 AM Jul 6,2017 12:09 AM ASP.NET MVC 3
loading
Tags: Grid
Carsten Buchmann
Asked On June 30, 2017 03:32 AM

Hi,
is it possible to make the excel filter dialog resizeable?
Kind regards,
Carsten

Prasanna Kumar Viswanathan [Syncfusion]
Replied On July 4, 2017 01:12 AM

Hi Carsten, 

Thanks for contacting Syncfusion support. 

It is not feasible to make the filter dialog as resizable. So, in what case do you need to make the filter dialog as resizable? 

Regards, 
Prasanna Kumar N.S.V 


Carsten Buchmann
Replied On July 4, 2017 03:24 AM

We like to avoid some of the scrollbars. So you can see more of the filter results.


Prasanna Kumar Viswanathan [Syncfusion]
Replied On July 6, 2017 12:09 AM

Hi Carsten, 

To hide the scrollbars inside the excel filter, use autoHide API of ejScroller. In actionComplete event of ejGrid we check the condition with the requestType and hide the scrollbars using autoHide API. When we set true to it will hides the scrollbar when we mouseout the content area. 
 
Find the code example and sample:  
 
 
@(Html.EJ().Grid<object>("HierarchyGrid") 
   ----- 
    .FilterSettings(filter => { filter.FilterType(FilterType.Excel); }) 
     .ClientSideEvents(eve => eve.ActionComplete("complete")) 
     .Columns(col => 
      { 
         ----- 
        
      }) 
 
) 
 
<script type="text/javascript"> 
    function complete(args) { 
        if (args.requestType == "filterchoicerequest") { 
            $(args.filterModel._dialogContainer).find(".e-checkboxlist").ejScroller({ autoHide: true }); 
        } 
    } 
</script> 
 

Refer to the Help document for the autoHide API.  


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.

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.

;