flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shervin Asgari <shervin.asg...@webstep.no>
Subject Evenly distribute column width in Spark Datagrid
Date Thu, 05 Feb 2015 09:59:20 GMT
Hi.

Please take a look here:
http://tiku.io/questions/5402996/in-flex-for-manually-resizing-datagrid-how-can-i-keep-the-column-widths-reason

and

http://stackoverflow.com/questions/3251074/how-can-i-evenly-distribute-columns-in-a-datagrid-in-flex

I have the same problem.

We have a spark datagrid with percentWidth="100" and a custom width on all
grid columns.
We have 25 columns, here is a very shortened example

<s:Datagrid percentWidth="100">
<s:columns>
   <s:ArrayList>
   <s:GridColumn id="typeColumn"
...
etc

But our last column takes up all the space left, and it looks pretty bad.

Is there anyway we can evenly distribute the remaining space to the columns?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message