PDA

View Full Version : Responsive config is not applied on render



Daicu
23 Sep 2019, 2:59 AM
I have updated version of Ext JS from 6.2 up to 7.0 and noticed that "responsiveConfig" for grid columns has no effect after grid is rendered. It requires to be resized to take effect.
So there is fiddle with example:
https://fiddle.sencha.com/#view/editor&fiddle/2vih

In the fiddle third column is responsive and should be hidden by condition.
Running the fiddle with "Ext JS 6.2.1.167 - Neptune" [Classic] it is hidden (responsive plugin is used).
Running the fiddle with "Ext JS 7.0.0 - Neptune" [Classic] the column is visible and become hidden only after Preview panel resizing (responsive mixin is used).

My workaround is to call Ext.mixin.Responsive.notify(); after grid creation but it is private.

Is any other solution for this issue?