Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Remove row numbers in Nattable(Nattable )
Remove row numbers in Nattable [message #1766207] Sat, 17 June 2017 18:12 Go to next message
Andreea Sonda is currently offline Andreea SondaFriend
Messages: 11
Registered: May 2017
Junior Member
Can I remove the row number from the NaTable.
I saw the solution on stakover flow (https://stackoverflow.com/questions/41144188/remove-row-numbers-in-nattable ) but is does not suit me because I have an error when I`m trying to replace DefaultGridLayer with CompositeLayer, in the following code:
  DefaultGridLayer gridLayer = new DefaultGridLayer(bodyDataProvider,
            new DefaultColumnHeaderDataProvider(propertyNames, propertyToLabelMap));

        DataLayer bodyDataLayer = (DataLayer)(gridLayer).getBodyDataLayer(); 

I there a solution for this problem?

Thank you!!
Have a nice day!

Re: Remove row numbers in Nattable [message #1766211 is a reply to message #1766207] Sat, 17 June 2017 19:17 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
Maybe you should go through the Getting Started Tutorial to get familiar with the basic concepts of NatTable.

http://www.vogella.com/tutorials/NatTable/article.html

I think there you should find the answers yourself.
Previous Topic:Create nattable with two column ,the second column has multiple dynamic rows inside.
Next Topic:Static Filter for tree structure in NatTable
Goto Forum:
  


Current Time: Thu Sep 20 08:48:45 GMT 2018

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

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

Back to the top