View Full Version : Put Dataview into Panel

14 Mar 2017, 5:41 AM

I created 3 panels: Panel 1, Panel 2 and Panel 3 in Extjs. Please go to the below fiddle link:

I also created a DataView with a static store here (fiddle link): https://fiddle.sencha.com/#view/editor&fiddle/1s0t

Now I wanted to show the above DataView in each of the above panels (Panel 1, Panel 2 and Panel 3). But I am not able to do that. I tried it by giving 'id' to panels and calling that 'id' to show DataView in that panel.

Any approach? How to mege these codes to get DataView in each Panel?


14 Mar 2017, 8:50 AM
Achieved it !! See https://fiddle.sencha.com/#view/editor&fiddle/1s1q

Gary Schlosberg
15 Mar 2017, 3:40 PM
Well done. You can emove the renderTo config on your SampleView class.