Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Height of the dimension cells in cross tab
Ka Lai
<p>Hello<br><br>
I have a cross tab in which I add a grid to show some group as header. Insead of showing my real data, I show you the example from eclipse help (Tutorial 5: Creating a cross tab) as attached.<br><br>
For the country, state and city I add a grid. This is fine as long as the summary fields are one or two lines. If the summary fields has more data and become three or more lines, the grid should be bigger and fill the space between. I copied "PRODUCTLINE" to show this. How can I fit the height of state and city?<br><br>
Thank you.<br>
</p>
Find more posts tagged with
Comments
kclark
You could try something like this in the onRender() of the grid:<br><br><pre class="_prettyXprint _lang-auto _linenums:0">
this.getStyle().marginTop = "5%";
</pre>
Ka Lai
<p>Thanks Kristopher for your response. But there is no change.
</p>
kclark
<p>It sounds like you're wanting to center the grid vertically, is that correct?</p>
Ka Lai
<p>No. For example after Chatswood, there is too much space. The group is size one line, while the calculated cells are four lines tall. The grid should fill in the hole space. I don't know how high the calculated cells are, it depends on the value. So I cannot fix the height.</p>
<p> </p>
<p>The group cells should be something like the attached picture.</p>
<p> </p>
<p>
kclark
<p>I figured out how to get the grid to take up the entire space of the parent cell but it introduces other formatting issues imo. Select the grid > property editor > scroll to the bottom and change it from "block" to "inline". You'll also need to change the height to 100% inside the same property window at the top. Change the background color to see the new height. Let me know if this is what you're looking for
</p>
Ka Lai
<p>Is it the general property of the Grid, that I should change? That doesn't work. Nothing happens. I looks the same as before.</p>