What property makes a sub-report to grow or shrink? - ssrs-2012

Previously when developing in SSRS 2008 I do not recall having any problems with the sub-reports: they grew or shrunk automatically w/o me having to do anything special about that.
Now I am looking at a bunch of reports that were created from Crystal by running some "tool" (I was not told what that tool was). And their sub-reports residing in the tablix cells do not want to grow or shrink.
If a sub-report is larger than the cell it is housed in, only the very first line would show and the rest would be clipped. If the sub-report is empty and I enlarged its parent cell to accommodate the report should it have data, then it would not shrink.
The sub-report objects have no CanGrow or CanShrink properties, and the tablix cell housing the sub-report would not have a TextBox that would have that property.
I can't assume that MS intended the sub-reports to always have specific size, as that would be terminally stupid, but also cannot find a solution here or elsewhere.

False alarm! The conversion tool has set all cells of any tablix to CanGrow=False. There were cells before and after the sub-report cells that caused the sub-reports to have fixed size.
Setting all cells that were of TextBox kind to CanGrow=True fixed the issue and also fixed clipping of the regular text/numbers of course.

Related

RDLC Rectangle with tablix inside keep growing

I have a subreport containing a rectangle with inside a tablix that have dynamic number of rows. I used a rectangle as a container because I want my tablix to have a fixed maximum height so it can't push other objects down. unfortunately this doesn't work.
This is my SubReport, the Rectangleis selected in the picture and my Tablix is [colore]:
This is an example of the rendered subreport with 2 rows only, everything is ok:
This is an example with more than 2 rows, the rectangle for some reason grows and everything get pushed down:
I tried with CanGrow and CanShrink both to true and false but nothing change.
How can I fix this ? I want my layout to always be like the secondo picture.

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.

How to fix SSRS Tablix column width?

I'm creating a report for MS Dynamics AX using SSRS. So far everything is working well, but this time i'm making a report consisting of many tablixes. Row height is fixed and there seem to be no issues from a horizontal perspective. Vertically however there is problem because columns are resizing randomly and my tablixes dont appear uniform. Everything appears perfect in design view but not in the output. Columns resize at run time. I have set the canGrow properties to false and resized all the columns manually but to no effect.
I've attached screenshots of my design and a small part of the preview/output.
Design
Preview
Has anybody faced such an issue? Were they able to solve it?
I had a similar issue where I needed the cell to be 3.5 in, regardless of the data within it. The fix wound up being to set the padding in the blank cell to that width.

Slickgrid - number of columns showed in dom

I'm about to test a website with Selenium. There is implemented a table with SlickGrid.
I have the Problem that when I read in a row i get only 29 columns but there were about 40 (in real).. This cause to 100% to the virtualised scrolling.
I'm wondering, what's the default amount of columns which appears in the dom?
It took me a while to resolve how it's done and I can say it's a bit tricky. There is no such thing as a "default amount" of columns, this amount is getting computed, see below for a bit of technical details.
You can check the slick.grid.js files line 1787. There is a function cleanUpAndRenderCells(). This is responsible for calculating and rendering the cells which aren't on the grids canvas. For example when you scroll the horizontal scrollbar, this function gets called and based on the direction of the scroll they check if the next set of cells aren't on canvas and can fit the canvas, they append the cells to the DOM.
For the matter of reading the row values
I see two possible ways of doing that using javascript.
If you are using a data array as datasource:
data[grid.getSelectedRows()[0]]
If you are using a DataView as datasource:
grid.DataView.getItemById(0)
Both will return an Object with property names of columns.
However I'm not sure how/why would you integration test this, the slickgrid package is already tested, you can check it here.

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