Data Grid Filter is cut off

Hi when my data grid table is shorter than the length of the column checkbox filter, it gets cut off as shown in the video.

How do I set the z-index of the column filter to be greater than the data grid? Or how else can I resolve this issue?

Thank you

Attachment: Filter_cut_off_e29254a7.zip

5 Replies 1 reply marked as answer

RN Rahul Narayanasamy Syncfusion Team June 14, 2021 01:02 PM UTC

Hi Kenney, 

Greetings from Syncfusion. 

Query: Data Grid Filter is cut off 

We have validated your query with the provided information. We suspect that you have rendered accordion component inside the Grid detail template and rendered another Grid within the accordion component. In this scenario while opening the filter dialog in Grid(which is rendered inside accordion control), the filter dialog is hidden. 

If yes, then you show the full filter dialog by using below CSS. Find the below code snippets  and sample for your reference. 

 
<style> 
    . . . 
 
    .e-accordion .e-acrdn-item, 
    .e-accordion .e-acrdn-item .e-acrdn-panel, 
    .e-accordion .e-acrdn-item .e-acrdn-panel .e-acrdn-content, 
    .e-accordion .e-acrdn-item .e-acrdn-panel .e-acrdn-content > * { 
        overflow: visible; 
    } 
</style> 


If you have faced any other scenarios, then could you please share more details(Full code snippets, how you are rendering the Grid(whether did you render Grid in another component)). It will be helpful to validate and provide a better solution. 

Regards, 
Rahul 




KP Kenney Phan June 14, 2021 07:25 PM UTC

Yes, you are correct. I am rendering accordion component inside Grid detail template and rendered another Grid within the accordion component.

However, your solution does not resolve the issue. The filter dialog is still be truncated below by the table.

I want the filter to overflow over the table below like this



RN Rahul Narayanasamy Syncfusion Team June 15, 2021 03:30 PM UTC

Hi Kenney, 

Thanks for the update. 

We have validated your query and with the provided details. In the previously provided sample, we have provided solution to show the filter dialog over the accordion control item. It will show the dialog without any issues. Find the below screenshots and sample for your reference. 

[Before applying the CSS solution] 
 

[After applying the CSS solution] 
 

Also, in the previously provided sample Grid Height is set as static. So you can see the exceeded Grid content by scrolling. You can see the filter dialog by scrolling the content. Now we have set the Grid Height as auto.  

Please find the below sample for reference. 


Please let us know if you have any concerns. 

Regards, 
Rahul 
 


Marked as answer

KP Kenney Phan June 15, 2021 06:35 PM UTC

Thank you for your help


RN Rahul Narayanasamy Syncfusion Team June 16, 2021 05:24 AM UTC

Hi Kenney, 

Thanks for the update. 

Please get back to us if you need further assistance. 

Regards, 
Rahul 


Loader.
Up arrow icon