PDA

View Full Version : [FIXED-160] unset autoExpandColumn from GridPanel



j-joey
5 Jun 2010, 5:03 AM
Hi,

If you set an id to column and set it to grid's autoExpandColumn, you cannot unset them anymore...

Just drop a grid, set an id to any column. set the grid's autoExpandColumn to the id that you set to column. Now try to unset the autoExpandColumn of grid or id of column. it just doesn't work...

( workaround, edit the xds file ;))

jarrednicholls
7 Jun 2010, 4:53 AM
Thanks Joey. The other workaround is to delete the column and re-add it :-) There was some logic added to prevent breaking the GridPanel in the Designer from a mismatch of autoExpandColumn -> column id. Before, if you unset one or the other, the Designer threw an error. I'll create a ticket to allow unsetting one or the other. If the autoExpandColumn is being unset, it will simply unset...if the column's ID is being unset, it will also unset autoExpandColumn. Thanks for reporting this.