I am trying to get hideAtMedia working for my vue solution (4.1.2) trying to make the grid more responsive.
As stated in the dox, columns should be made visible/invisible by using a media query.
Although this works on first load, this does not seem to work if the browser window is resized after the initial load; i.e. when I load it maximized all columns are visible (that is correct), but when I downsize the browser window without reloading the page, the columns are still visible.
This is a problem as users can, for instance, rotate their tablet at any time to get more vertical screen room.
Is this by design? How can I get it to re-evaluate?
DRDhivya Rajendran Syncfusion Team January 27, 2020 05:21 AM
Thanks for contacting Syncfusion support.
We have checked the reported problem in the Intel Atom Z3770 tablet and it is working fine at our end. Please share the below details, which will help us to validate further at our end and to provide a better solution as soon as possible.
Share the device details and browser details
The reported problem occurred in any particular device/bowser or all devices?
Share screenshot of the problem
Syncfusion package version details
BOBobJanuary 29, 2020 04:31 AM
Hi, thank you for your answer.
I tried this on a PC actually using Windows 10 10.0.18362, Chrome 79.0.3945.130 and FireFox 72.0.1 (64-bits), Syncfusion version 17.4.43 (ej2-vue-grids).
I haven't tried this on a mobile device yet as debugging options for those devices are limited and ofc it should work on a PC as well.
Resizing the browser window after page load does not change column visibility.
It feels like the media query is only being evaluated on page load.
When reloading the content in the resized window (just hit F5), the column *is* hidden, per the mediaquery.
I have added 3 screenshots (in order) to illustrate the problem.
DRDhivya Rajendran Syncfusion Team January 31, 2020 08:21 AM
Thanks for sharing the details.
We are able to reproduce the reported issue at our end. We have logged a bug report for the reported issue as “media query (hideAtMedia) is not working properly”. Thank you for taking time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and including the defect fix in our upcoming February 12 Patch Release.
Until then we appreciate your patience.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.