Question

Je suis actuellement en utilisant le Sencha Ext.ux.TouchGridPanel, et je dois savoir comment l'ajouter à un groupe dynamique. À l'heure actuelle, je mis en place un magasin, utilisez alors une fonction pour générer le panneau. J'utilise ensuite

myPanel.add(myTouchGridPanel);

affiche la barre d'outils et les titres du Groupe, mais aucune des informations qu'il contient. Faire les TouchGridPanel œuvres en plein écran, mais les animations sont bâclée.

Était-ce utile?

La solution

If the component is working correctly, perhaps the panel you are inserting it into is not the size you expect it to be?

Or maybe the GridPanel is not stretching to the size of the panel, in which case, you should add a fit or card layout to the panel, so it fits to the size of that panel.

If neither of these two things work, I suggest you open up web inspector and look at the dom of your panel - and see what the size of it is, and if the grid is actually being added to it or not.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top