RegisterSearchFAQ UsergroupsLog in
Cell Merging

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

Cell Merging
Author Message
kokila



Joined: 19 Mar 2015
Posts: 1

Post Cell Merging Reply with quote
How to implement cell merging in column wise.
Mon Jun 15, 2015 5:39 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Hi,

This can be achieved with GroupTableColumns. For example:

Code:
//create a group column named 'All'
GroupTableColumn all = new GroupTableColumn("All");

//add first and second columns to it
all.addColumn(cm.getColumn(0));
all.addColumn(cm.getColumn(1));

//create a group column named 'Other'
GroupTableColumn other = new GroupTableColumn("Other");

//add third and fourth columns to it
other.addColumn(cm.getColumn(2));
other.addColumn(cm.getColumn(3));

//add the 'other' group column to the 'All' group column
all.addColumn(other);

//add the 'All' group column to the header
GroupTableHeader header = (GroupTableHeader) table.getTableHeader();
header.addGroupColumn(all);

Tue Jun 16, 2015 10:42 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