Skip to main content



      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 05:13 Go to next message
Eclipse UserFriend
Hi,

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 {

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


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

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 08:35 Go to previous message
Eclipse UserFriend
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: Sat Jul 12 11:00:27 EDT 2025

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

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

Back to the top