RE: Evenly distribute column width in Spark Datagrid

2015-02-19 Thread Kessler CTR Mark J
Sure np. Glad I could help. -Mark -Original Message- From: Shervin Asgari [mailto:shervin.asg...@webstep.no] Sent: Monday, February 16, 2015 1:00 AM To: users@flex.apache.org Subject: Re: Evenly distribute column width in Spark Datagrid Wee :) That totally worked! Thanks Mark

Re: Evenly distribute column width in Spark Datagrid

2015-02-15 Thread Shervin Asgari
Message- > From: Shervin Asgari [mailto:shervin.asg...@webstep.no] > Sent: Friday, February 13, 2015 8:37 AM > To: users@flex.apache.org > Subject: Re: Evenly distribute column width in Spark Datagrid > > You are not late at all. > I still haven't figured this one out. >

RE: Evenly distribute column width in Spark Datagrid

2015-02-13 Thread Kessler CTR Mark J
column width in Spark Datagrid You are not late at all. I still haven't figured this one out. I tried your suggestion. Very interesting approach. It sort of worked. Now if only the other columns would increase in width and "Evenly distribute the space the last column takes",

Re: Evenly distribute column width in Spark Datagrid

2015-02-13 Thread Shervin Asgari
The reason why it doesn't work as I intend is because we have some hidden columns which only gets visible on demand. So when you activate those columns, then the table looks fine 2015-02-13 14:37 GMT+01:00 Shervin Asgari : > You are not late at all. > I still haven't figured this one out. > > I t

Re: Evenly distribute column width in Spark Datagrid

2015-02-13 Thread Shervin Asgari
You are not late at all. I still haven't figured this one out. I tried your suggestion. Very interesting approach. It sort of worked. Now if only the other columns would increase in width and "Evenly distribute the space the last column takes", then this would certainly be an alternative. Thank yo

RE: Evenly distribute column width in Spark Datagrid

2015-02-12 Thread Kessler CTR Mark J
I know I'm late to this. But could you try a dummy column on the end that has no header text. This would be the last column in your list... it would simply add an empty column that take up the remaining space in a uniformed fashion. -Mark

Re: Evenly distribute column width in Spark Datagrid

2015-02-12 Thread Shervin Asgari
I tried with requestedColumnCount, typicalItem and minWidth on the last grid column. None of these worked. I still have the same issue. I am not sure whaty ou mean by add/remove columns. This is the code for the datagrid with the requestedColumnCount and minWidth http://pastebin.com/8DBPN0iK 20

Re: Evenly distribute column width in Spark Datagrid

2015-02-12 Thread Shervin Asgari
Thank you for the response. I did try typicalItem. It didn't work. I will try your other suggestions when I get a chance and report back. Shervin 2015-02-08 23:30 GMT+01:00 Nemi : > If I remember correctly, I fixed missing row background > (http://i.imgur.com/UVpr9mN.png) in last column by sett

Re: Evenly distribute column width in Spark Datagrid

2015-02-08 Thread Nemi
If I remember correctly, I fixed missing row background (http://i.imgur.com/UVpr9mN.png) in last column by setting minWidth of last GridColumn. -- View this message in context: http://apache-flex-users.2333

Re: Evenly distribute column width in Spark Datagrid

2015-02-08 Thread Nemi
Did you try add/remove columns or set different requestedColumnCount Maybe changing typicalItem

Re: Evenly distribute column width in Spark Datagrid

2015-02-05 Thread Shervin Asgari
I forgot to mention. The reason why this appears is because we have 7 hidden columns (visible="false"), which the user can enable by clicking on a button. It seems Spark Datagrid can't figure out the width when there are hidden columns. Even if I make all columns visible, and I hide one of the colu

Re: Evenly distribute column width in Spark Datagrid

2015-02-05 Thread Shervin Asgari
Here is a screenshot of how it looks like in mx:Datagrid and how it looks like in the spark datagrid Spark: http://imgur.com/AFKiQcu MX http://imgur.com/lay4rRE The MX one looks much nicer. It evenly distributes the remaining width on the columns Shervin 2015-02-05 10:59 GMT+01:00 Shervin Asga