|
Re: TableColumn moveable [message #652236 is a reply to message #651819] |
Thu, 03 February 2011 09:57 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi,
could you open a bug about this issue and attach your proposed solution
to it. This will help us to keep track on it.
Thanks, Ivan
On 2/1/2011 7:36 PM, tibersept wrote:
> Hello RAP community,
>
> I think I have stumbled upon a minor issue while dealing with
> table columns and just wanted to check if my assumptions are
> correct.
> The issue occurs when moving columns. They simply get stuck,
> when I try to exchange adjacent columns and one of them has width of
> 0. On a second move attempt they are positioned properly.
>
> This should be due to the hack in the static moveColumn
> method in TableColumnLCA that sets all preserved
> left values to null, or actually doesn't do so in case
> the order of the columns has changed. The following fails:
>
> Preserve left x
> Move column (sets left again to x, adjacent column width is 0)
> Skip writing left (no change)
>
> Right now, I just set the preserved left value of the moved
> column to null so that it's sent to client. Anything I should consider ?
>
> Thanks,
> tibersept
|
|
|
|
Powered by
FUDForum. Page generated in 0.03353 seconds