lundi 13 avril 2015

How to auto adjust the height in panel

Hi All,

I have a panel with dataview.



In Dataview creating items with tpl and store to render them.



Extending the functionality of refresh method of dataview to adjust the x, y positions of dataview items to get the grid kind of view.



Now the problem is initially items are rendered one by one vertically and panel height set accordingly (assume : 1000). When the x,y positions changed now the actual height is 500(items are arranged horizontally). but the panel height still shows 1000 only.



How can i fix this?



Can anyone please suggest





How to auto adjust the height in panel

Aucun commentaire:

Enregistrer un commentaire