Skip to main content



      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 04:07 Go to next message
Eclipse UserFriend
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 04:43 Go to previous message
Eclipse UserFriend
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: Sun Jul 13 12:18:31 EDT 2025

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

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

Back to the top