Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » NAT TABLE UNDER SWT EXPANDABLE/COLLAPSED SECTION(NAT TABLE COLUMNS ARE GETTING NON ALIGNED ON CELL CLICK)
NAT TABLE UNDER SWT EXPANDABLE/COLLAPSED SECTION [message #1550862] Wed, 07 January 2015 09:07 Go to next message
ambuj bhargava is currently offline ambuj bhargavaFriend
Messages: 19
Registered: July 2014
Junior Member
Hi

I am using org.eclipse.ui.forms.widgets.Section;
and the Nat Table is put under SWT expand and collapsed Section.

I am using
<section Object>.addExpansionListener(new ExpansionAdapter() {
@Override
public void expansionStateChanged(ExpansionEvent e) {
}
});
to redraw the layout whenver the section is expanded.

When the section is expanded and the user clicks on the cell of any column of the Nat Table, horizontal scroll bar is moving left automatically.

How can I avoid this?
Can you please suggest?

Regards
Ambuj
Re: NAT TABLE UNDER SWT EXPANDABLE/COLLAPSED SECTION [message #1550910 is a reply to message #1550862] Wed, 07 January 2015 09:43 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
I guess it is related to

Quote:
redraw the layout whenver the section is expanded


and since you didn't tell me what exactly you are doing, I can't help you. The Section has nothing to do with NatTable.
Previous Topic:Nebula NatTable - Getting Started Tutorial
Next Topic:Multi Edit Caret Location
Goto Forum:
  


Current Time: Thu Mar 28 19:04:22 GMT 2024

Powered by FUDForum. Page generated in 0.02243 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top