ejs-grid appears unable to show filter control for columns without local data

When I attempt to open a column's filter menu (via the column menu) on a grid column where there is at least one cell in that column without data, the filter menu does not appear / appears off screen and is not functional. Our grids work remotely and we have created a custom api adapter (extending UrlAdapter.) As long as every cell in a column contains data, filtering works fine.

What is happening / how can I correct this?

Thank you

1 Reply

MS Manivel Sellamuthu Syncfusion Team March 24, 2020 05:50 AM UTC

Hi Adam, 

Greetings from Syncfusion support. 

By default in EJ2 Grid the column data type is defined based on the first record of the Grid. Incase if the first record of the dataSource is null/blank value for a column then it is necessary to define the type for that column. Based on the column data type only the filter menu will be displayed, so we need to the define the data type if the first record of the dataSource is null/blank value. It is the default behavior of the Grid.  

From your explanation we suspect that this is the cause of the issue. So we suggest you to set the column type  or give the value for first record to resolve this issue. 

Please find the below documentation link for more information. 


If we misunderstood your query or this is not the issue you are facing, please get back to us with the below details that will help us to provide a better solution as soon as possible. 

1. Please Share the Grid code 

2. Share video demo or screenshot of your requirement. 

3. Check the console for exceptions and share (if any) 

Regards, 
Manivel 


Loader.
Up arrow icon