Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » RowHeaderLayer configuration not reflecting.(For Suppressing Row resize feature add custom RowHeaderLayer config.)
RowHeaderLayer configuration not reflecting. [message #1065911] Fri, 28 June 2013 09:13 Go to next message
Courtney Jines is currently offline Courtney JinesFriend
Messages: 13
Registered: September 2012
Junior Member

For disabling Row height re-size feature. I created my one RowHeaderCofiguration class as shown below.

//_table is actually NatTableBuilder.

public class MyRowHeaderConfiguration extends DefaultRowHeaderLayerConfiguration {

    protected void addRowHeaderUIBindings() {
        //Suppressing row re-size bindings.

RowHeaderLayer rowHeaderLayer =.....(RowHeaderLayer)_table.getRowHeaderLayer().getUnderlyingLayersByColumnPosition(0).toArray()[0];
rowHeaderLayer.addConfiguration(new MyRowHeaderConfiguration());

But it is not working. Please let me know what i am missing. Thanks in advance for the help.
Re: RowHeaderLayer configuration not reflecting. [message #1065943 is a reply to message #1065911] Fri, 28 June 2013 12:35 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2815
Registered: July 2012
Senior Member
I think it should work this way. But as the NatTable Builder is involved, I'm not sure what might be wrong.

Possibly the NatTable is already configured and calling configure() again doesn't have an effect.
Previous Topic:Disable filter on specific columns
Next Topic:Painter for custom editor component.
Goto Forum:

Current Time: Thu Aug 05 22:26:12 GMT 2021

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

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

Back to the top