RegisterSearchFAQ UsergroupsLog in
Unable to remove grouping header from Tree Table

 
Reply to topic    Citra Technologies Forum Index » Report a Bug View previous topic
View next topic

Unable to remove grouping header from Tree Table
Author Message
madchan



Joined: 25 Dec 2013
Posts: 3

Post Unable to remove grouping header from Tree Table Reply with quote
Hi Team ,

Unable to remove grouping header from Tree Table ..

Code:
   GroupTableHeader groupHeader2 = (GroupTableHeader) treeTable1.getTableHeader();
     GroupTableColumn sectorgtc5 = null;
     sectorgtc5 = new GroupTableColumn(groupHeader2);
      sectorgtc5.addColumn( treeTable1.getColumnModel().getColumn(4));
     System.out.println("sectorgtc5.getParent()==>"+sectorgtc5.getParent());    // output as NULL
      groupHeader2.removeGroupColumn(sectorgtc5); 


Kindly advice ASAP ...

Thanks.
Thu Dec 26, 2013 2:05 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Hi,

The problem is that you do not add the group column properly in the first place.

After adding the column with index 4 to the group column, then call:

Code:
groupHeader2.addGroupColumn(sectorgtc5);


, so that to add it as a group column.

Then, you will be able to remove it later.
Thu Dec 26, 2013 7:27 am View user's profile Send private message
Display posts from previous:    

Reply to topic    Citra Technologies Forum Index » Report a Bug All times are GMT - 5 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group