BIRT html format report columns width getting shrink while add many columns - birt

I'm using BIRT version 4_5_0. In html format report the result is displayed in A4 size only. I unable to resize the resultant. If I choose more columns then the columns width getting shrink. But I want that columns width would not get shrink if I add any number of columns and also width should be followed by what size I fixed in API. If we add more columns then horizontal scroll bar will be placed usually. But It's not an issue for me. Is any settings/API available to fix this? Thanks in advance.

Birt output format By default fixed Layout.
You can Change the layout fixed to auto.
automatically horizontal scroll bar will come. Your problem may will solve
ReportDesignHandle designHandle = session.createDesign();
designHandle.setLayoutPreference(DesignChoiceConstants.REPORT_LAYOUT_PREFERENCE_AUTO_LAYOUT);

Related

In birt report table not properly fit into pdf size

enter image description here
how to fit the birt report table not properly fit into pdf size because it showing only few data
On Format
You are using the web viewer in your example. If you want a PDF, you need to press the arrow next to the viewer button and choose "View Report as PDF".
On Size
Most elements have a Properties tab that lets you select width and height relative to the parent element. If you set this to 100%, it will use the full width/height of the parent. However, if single elements have a minimum absolute width - like having lots of columns - the 100% may be forced to be ignored. Then you have to change the single elements first.
On Orientation
You might have a fixed set of columns, but it still does not fit the report result. Changing the orientation to landscape can help here - this is especially useful for wide tables. Orientation can be changed in the Master Page tab under Properties -> General -> Orientation.

Tableau cannot horizontally scroll in worksheets

I am using Tableau for data visualization and generating lists that can be exported to Excel.
However, when the amount of columns get too big, I cannot see all my columns in the view (They are there though). The problem is that there doesn't seem to be a horizontal scrollbar. I can scroll vertically through my rows, but I haven't found a way to do this horizontally to look through my columns, the same way you would do at the data source tab.
If anyone could help me to figure out how to achieve this that would be awesome! I am using Tableau Desktop version 2018.3 on a Mac.
Edit: The problem also seems to be on Windows and is not related to the maximum amount of columns or the view mode.
Example image of the described problem
You are not getting scrollbar because you are viewing it on a worksheet. Try putting it on the dashboard and set dashboard size to fixed and increase width to accommodate all columns.
now you will get horizontal scrollbar for sure
thanks
Besides updating the horizontal row/column label limit #Bernardo mentioned here:
You'll need to make sure you've have selected "Standard" from the display option list at the top of the screen. That options prevent Tableau from fitting everything into the height, width or view of your current display.
Tableau shows a horizontal scroll bar for measures, but not for dimensions. When only dimensions are included on either the Columns or Rows shelf, the lower horizontal scroll bar will not display. Dimensions are treated as headers for measure aggregations and do not generate a horizontal scroll bar when they exceed the width of the view.
To change the Table Layout and increase the number of columns and rows in your table, go to:
Analysis > Table Layout > Advanced
Set each of the Maximum values to 16, which is the limit allowed.

ShrinkToFit does not expand frozen columns if grid has width to expand

I'm creating a pivot table using jqgrid with group headers. I do some calculation on input data to figure out if combined column width would exceed the fixed width of grid. If it does not exceed then i would change shrinkToFit : truefor grid to occupy full width. If I do it, then dragging column width creates alignment issues between header and body.
Problem gets worse if frozen column are enabled. The fixed header div wont expand like the column underneath it if shrinkToFit is enabled.
Here is a demo to understand the problem : http://codepen.io/anon/pen/NbxWrQ
Any leads will be helpful.
Thanks in advance.

Vaadin grid horizontal scroll

I want to avoid horizontal scroll in Vaadin grid and oblige column to be resized according to the screen. I tried grid.setExpandRatio() but I have no change.
Have you any idea please?
The Vaadin Grid component provides width control for each column. See API doc.
You can set expand ratio of each column that is added when additional free space is available beside the space that is required for each column. But this doesn't help in your case. The best way I found so far is to set a maximum width for a column that is suitable for shrinking.

SSRS report produces blank/white spaces when column are hidden in tablix

I have report developed in SSRS 2005. It is a simple and straight-forward report using a stored procedure to fetch the data and display. This report has 100 columns and there are no grouping or subreports etc.
But user has option to select/deselect the column names to show/hide on the report. When the user select to hide couple of columns report is giving me blank/white gaps when exported to pdf or any other formats.
Is there any solution to this?
You need to ensure that you are hiding the row or the column of the table and not simply the fields. Check HarlingtonTheWizard's post at the following link:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=109566
Once the rows/columns are hidden, the height/width will collapse.
I do not consider this as the best solution but is more of a hack but this is what I did in my situation.
1)Place a white rectangle in the desired cell. Make sure that the rectangle is white and has no borders.
2)Place the textbox inside the rectangle. Set an expression to hide and show this textbox.
3)Repeat for each cell in that column.
Therefore, when the textbox is shown it will look as normal. When the the textbox is hidden, the white rectangle will work as a "placeholder" to occupy the cell.
You can try setting Report property containerwhitespace="True".

Resources