Aslam
December 7, 2012, 12:41pm
#1
I have a grid that have a colspanned columns
[i]var gridHeader = “Financial Statement, Company A,#cspan ,#cspan ,#cspan ,#cspan ”;
mygrid.setHeader(gridHeader, null, [“text-align:left;”, “text-align:center; padding:0px 3px;”]);
mygrid.attachHeader(“LineItem,2008,2009,2010,2011,2012”);[/i]
Now, when I want to add a dynamic column to such a grid, I am unable to add a column under the column’s first header “Company A”.
I have used
mygrid.insertColumn(7, “New Column”, ‘ron’, 120, ‘na’, ‘left’, ‘top’, null, ‘red’);
How do I add this column under “Company A”
Aslam
December 7, 2012, 12:43pm
#2
When I do this column is added, but it is added beside the column “Company A” and not under it.
Please help!!!
sematik
December 7, 2012, 3:25pm
#3
Unfortunately such feature is not available.
You will have t o remove the attached header, add a new column with a colspan and then attach the header.
Aslam
December 10, 2012, 7:15am
#4
thanks sematik for the quick response.
if it’s not available, then I wanted to know whether we are planning it for the further releases?
Till then, I’ll implement it the way you have said. However, I think i’ll have to do some css work also on this, to make sure user don’t see this a new column all together.
sematik
December 11, 2012, 12:31pm
#5
unfortunately we’re not planning to add such possibility in the near future.