Hi., I am using list control and datagrid control., first diplay list control with datas then gridcontrol.
If list is no data. Grid control will arrange postion to list, the size will be auto adjusted. How to set auto size in list control.
Any one Help me.......
I'm not sure I understood the question, but try changing the rowCount on the
List to make it shorter.
Thank u for ur reply.... but rowcount property is not in flex 4....
how to solve this problem.. i want auto size of list control...
The Spark List's layout property has the requestedRowCount and requestedMinRowCount properties.
You can either set a new layout property on your List like this:
<s:VerticalLayout requestedMinRowCount="1" />
or reskin the List and modify the VerticalLayout in your copy of ListSkin.