Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » column setProperty width doesn't work in xlsx output
column setProperty width doesn't work in xlsx output [message #1797712] Mon, 05 November 2018 14:45
Arkady Paravozov is currently offline Arkady ParavozovFriend
Messages: 3
Registered: November 2018
Junior Member
Hello !
I am trying to set width of columns programmatically. It works locally, but when I push it to the master branch, it doesn't work there. I am confused. Anyone help me.
Report Design "Before render" event:
	var table = reportContext.getDesignHandle().findElement("mainTable");
	table.setProperty("width", "19cm");
	var columns = table.getColumns();

	for (var i = 0; i < table.getColumnCount(); i++) {
		var column = columns.get(i);
		column.setProperty("width", "0,4cm");

There's no errors, but it does nothing.
  • Attachment: width.PNG
    (Size: 16.22KB, Downloaded 160 times)
Previous Topic:how to capture selected report input parameter
Next Topic:Column setProperty width doesn't work in xlsx output remotely
Goto Forum:

Current Time: Tue Oct 22 08:22:54 GMT 2019

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

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

Back to the top