I have a grid on a form in a fieldset. When the grid is shown with an empty store I want it to show the emptyText.
By default it doesn't. (also didn't in < Ext 4.2.0 ). I had a work around. When the form is shown (for the first time) I refresh the view. ( grid.view.refresh() )
But in the new Ext 4.2.0 there is no height. So I set a minHeight on the grid.
That minHeight is causing a layout failure now...
Any suggestions? Is this a bug? (If yes please move to bug section)
Here is a 'working' fiddle: http://jsfiddle.net/Vandeplas/C4qen/
I used the solution Farish uses, setting the emtpyText inside the viewConfig. And I set the minHeight in the viewConfig in staid of directly on the grid.