Height not adjusted after refreshContent

Hi!

I am doing some EXTERNAL filtering on the grid.

When I click the "CLEAR" button, I basically reset all external + internal filters and call the grid.refreshContent()

Problem is that the height is not automatically adjusted.

Here's a video for a better understanding of my issue:
https://drive.google.com/file/d/1n3O_GiM_OlGWLFAJOODr1Det5497CtaW/view?usp=sharing

Thanks, you guys are awesome!

3 Replies 1 reply marked as answer

VS Vignesh Sivagnanam Syncfusion Team June 29, 2020 01:20 PM UTC

Hi Catalin Radoi 

Greetings from syncfusion support.  

We have validated the provide video and tried to reproduce the reported issue but it was unsuccessful at our end.  Please find the sample for your reference. 



Kindly share the following details to validate further on your requirement. 
 
 
  1. Share your full code sample for our reference.
  2. Share the Syncfusion EJ2 version.
  3. If it is possible share the sample or modified the above sample with your issue.



Regards, 
Vignesh Sivagnanam 



CR Catalin Radoi June 29, 2020 03:03 PM UTC

Hi Vignesh,

Thanks for your answer ;)

I believe the problem is when you are also doing external filtering on the grid.
I have no issue if I am not doing external filtering. Did you try to replicate with external filtering?




MF Mohammed Farook J Syncfusion Team July 2, 2020 07:02 PM UTC

Hi Catalin,  
 
We have understand from your video, the Grid height is not refreshed properly when clear the Grid filtered records.  We created a sample from our end to reproduce the reported issue, but it is unsuccessful. 
 
 Please find the sample and video demonstration for your reference. 
 
 
 
  
If you are still facing the same issue, please share the below details that will be helpful for us to provide better solution at earlier. 
 
  1. Share the full code example of Grid rendering
  2. Share the functionality of the external dropdownList and Clear button .
  3. Do you have change the DataSource when you select the option from external dropdownlist.
  4. Share EJ2 version details used in your application.
  5. Share the replication procedure about your issue.
  6. Do you render the Grid component in any parent component inside? . If you rendered, Please share your layout details.
  7. If it is possible  , share the sample or modified the above given sample with your reported issue.
 
Regards, 
J Mohammed Farook  


Marked as answer
Loader.
Up arrow icon