RegisterSearchFAQ UsergroupsLog in
Can not move GroupTableHeader

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

Can not move GroupTableHeader
Author Message
cone



Joined: 29 May 2007
Posts: 353

Post Can not move GroupTableHeader Reply with quote
Hi,

i have changed the "Groupable Table" of your demo to get the following structure:


with
Code:

public JPanel createTablePanel(ListTableModel dataModel) {
   JPanel p = super.createTablePanel(dataModel);

   TableColumnModel cm = table.getColumnModel();
   
   String level1GroupHeader = "Level1";
   String level2GroupHeader = "Level2";
   
   GroupTableColumn groupLvl1_0 = new GroupTableColumn("Level1.0");
   groupLvl1_0.addColumn(cm.getColumn(1));
   groupLvl1_0.addColumn(cm.getColumn(2));
   
   GroupTableColumn groupLvl1_1 = new GroupTableColumn("Level1.1");
   groupLvl1_1.addColumn(cm.getColumn(3));
   groupLvl1_1.addColumn(cm.getColumn(4));
   
   GroupTableColumn groupLvl1_2 = new GroupTableColumn("Level1.2");
   groupLvl1_2.addColumn(cm.getColumn(5));
   groupLvl1_2.addColumn(cm.getColumn(6));
   
   GroupTableColumn groupLvl2_0 = new GroupTableColumn(level2GroupHeader);
   groupLvl2_0.addColumn(groupLvl1_0);
   groupLvl2_0.addColumn(groupLvl1_1);
   groupLvl2_0.addColumn(groupLvl1_2);
   
   GroupTableHeader header = (GroupTableHeader) table.getTableHeader();
   header.addGroupColumn(groupLvl2_0);
   return p;
}

in GroupTableDemoPanel.

I can move the gorupTableHeader "Level 1.0" to the right side of "Level1.2" but not to the right side of "Level 1.1" (this describes only one case).

cheers, michael
Mon May 13, 2013 6:40 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Thanks, I will look into it.
Tue May 14, 2013 9:12 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Hi,

It's now fixed in version 4.1.11.

Thanks
Mon May 20, 2013 9:54 am View user's profile Send private message
cone



Joined: 29 May 2007
Posts: 353

Post Reply with quote
thanks, it works Smile
Wed May 22, 2013 5:17 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