Home » Eclipse Projects » Remote Application Platform (RAP) » Bug in Table.getColumnOrder() when after moving a column
Bug in Table.getColumnOrder() when after moving a column [message #136507] |
Tue, 16 June 2009 13:03  |
Eclipse User |
|
|
|
Hi all,
When I drag and drop a column, the call of Table.getColumnOrder() returns
a wrong array when the first column of the table are hidden thanks to a
scroll bar which is outside the table.
It seems that the new position of the moved column is calculated without
these hidden column.
Example : I have 10 columns, the 5 first are hidden, the other one are
visible.
Order is : [0,1,2,3,4,5,6,7,8,9]
If I move 9 before 7 I should have [0,1,2,3,4,5,6,9,7,8]
And I obtain [0,1,9,2,3,4,5,6,7,8]
If needed, I will try to extract a snippet from my code, just ask.
Thanks,
Loïc
|
|
|
Re: Bug in Table.getColumnOrder() when after moving a column [message #136569 is a reply to message #136507] |
Wed, 17 June 2009 09:30   |
Eclipse User |
|
|
|
Loïc,
with the latest version from CVS I cannot reproduce what you
describe. Which version are you using?
Cheers,
Rüdiger
Loïc Bertholet wrote:
> Hi all,
>
> When I drag and drop a column, the call of Table.getColumnOrder()
> returns a wrong array when the first column of the table are hidden
> thanks to a scroll bar which is outside the table.
> It seems that the new position of the moved column is calculated without
> these hidden column.
>
> Example : I have 10 columns, the 5 first are hidden, the other one are
> visible.
> Order is : [0,1,2,3,4,5,6,7,8,9]
> If I move 9 before 7 I should have [0,1,2,3,4,5,6,9,7,8]
> And I obtain [0,1,9,2,3,4,5,6,7,8]
>
> If needed, I will try to extract a snippet from my code, just ask.
>
> Thanks,
>
> Loïc
>
>
|
|
|
Re: Bug in Table.getColumnOrder() when after moving a column [message #136606 is a reply to message #136569] |
Wed, 17 June 2009 11:14   |
Eclipse User |
|
|
|
Hi Rüdiger,
I'm also using the latest version from CVS.
It is happening on FF3 and IE7.
And it only happens when some TableColumns of the beginning are hidden by
a scroll bar which is not the Table one : my Table does not have scroll
bar.
It can be the scroll bar of the ScrolledComposite or the View which
contained the Table.
I will try to provide a snippet as soon as possible.
Loïc
Rüdiger Herrmann wrote:
> Loïc,
> with the latest version from CVS I cannot reproduce what you
> describe. Which version are you using?
> Cheers,
> Rüdiger
> Loïc Bertholet wrote:
>> Hi all,
>>
>> When I drag and drop a column, the call of Table.getColumnOrder()
>> returns a wrong array when the first column of the table are hidden
>> thanks to a scroll bar which is outside the table.
>> It seems that the new position of the moved column is calculated without
>> these hidden column.
>>
>> Example : I have 10 columns, the 5 first are hidden, the other one are
>> visible.
>> Order is : [0,1,2,3,4,5,6,7,8,9]
>> If I move 9 before 7 I should have [0,1,2,3,4,5,6,9,7,8]
>> And I obtain [0,1,9,2,3,4,5,6,7,8]
>>
>> If needed, I will try to extract a snippet from my code, just ask.
>>
>> Thanks,
>>
>> Loïc
|
|
|
Re: Bug in Table.getColumnOrder() when after moving a column [message #136618 is a reply to message #136606] |
Wed, 17 June 2009 11:17   |
Eclipse User |
|
|
|
I think the ScrolledComposite was the thing missing.
Feel free to file a bugzilla and attach the code there.
Loïc Bertholet wrote:
> Hi Rüdiger,
>
> I'm also using the latest version from CVS.
> It is happening on FF3 and IE7.
> And it only happens when some TableColumns of the beginning are hidden
> by a scroll bar which is not the Table one : my Table does not have
> scroll bar.
> It can be the scroll bar of the ScrolledComposite or the View which
> contained the Table.
> I will try to provide a snippet as soon as possible.
>
> Loïc
>
> Rüdiger Herrmann wrote:
>
>> Loïc,
>
>> with the latest version from CVS I cannot reproduce what you describe.
>> Which version are you using?
>
>> Cheers,
>> Rüdiger
>
>
>> Loïc Bertholet wrote:
>>> Hi all,
>>>
>>> When I drag and drop a column, the call of Table.getColumnOrder()
>>> returns a wrong array when the first column of the table are hidden
>>> thanks to a scroll bar which is outside the table.
>>> It seems that the new position of the moved column is calculated
>>> without these hidden column.
>>>
>>> Example : I have 10 columns, the 5 first are hidden, the other one
>>> are visible.
>>> Order is : [0,1,2,3,4,5,6,7,8,9]
>>> If I move 9 before 7 I should have [0,1,2,3,4,5,6,9,7,8]
>>> And I obtain [0,1,9,2,3,4,5,6,7,8]
>>>
>>> If needed, I will try to extract a snippet from my code, just ask.
>>>
>>> Thanks,
>>>
>>> Loïc
>
|
|
| |
Goto Forum:
Current Time: Tue May 13 01:28:33 EDT 2025
Powered by FUDForum. Page generated in 0.26522 seconds
|