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. Image for the cookie policy date
close icon

Filter dialog resizeable?

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

3 Replies

PK Prasanna Kumar Viswanathan Syncfusion Team July 4, 2017 05:12 AM UTC

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 



CB Carsten Buchmann July 4, 2017 07:24 AM UTC

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



PK Prasanna Kumar Viswanathan Syncfusion Team July 6, 2017 04:09 AM UTC

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 
 


Loader.
Live Chat Icon For mobile
Up arrow icon