Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm not a QlikView expert, but I seem to be beating my head against a trivial(?) issue, and whilst I have an answer I feel there must be a better one.
When developing in the client, table data frequently overflow the columns (giving the ##### display) . The quick answer is to right-click and select "Fit columns to data", and all is fine.
Now when the app is loaded into the Web access point, and loaded via browser, this option has gone. But it doesn't apparently matter, as the tables seem to autosize to the data.
Except for the headings. If I have a column headed 'Year', and have 4-digit years, then it's quite a tight well-fitted column. But if someone actually selects by year, what you often get is something like "Ye", then a green blob and the sort arrowhead. My users don't like this.
Now in the development client, going right-click and select "Fit columns to data" works. But you can't do this in the web view.
I know there is a zoom macro floating about using FitZoomToWindow, but (a) it doesn't solve the problem, and (b) in the development client it seems to work by changing the font size: something else that's not wanted.
There is the approach of explicitly setting each and every column width in each and every object via a macro, but that's rapidly going to get out of hand.
The only way I've found to kludge it is by making all the "Year" headings "Year......", with a 5-dot ellipsis. This provides space for the green blob and sort symbol, at the cost of making the column a bit wider. I'm trying to sell this to the users as a marker to show this is a selectable item, but I don't think they're going to buy it.
I feel that there should be a relatively simple way of resizing the column when the selection marker comes up, but can't find it. I'd be grateful for any and all suggestions!
Prune.
Hey John,
If I am getting what you are trying to do is, uncheck the option in layout 'Size to Data'. That should solve the problem of dynamic change of column width.
If you want to have a specified column width and it is exceeding your screen size (this will happen if you are using a table chart) then use a container and add the particular table chart. In the developer client it wont show the scrollbar in the normal view, but if you switch to web view you can change the width of the container to accomodate in the screen.
Hope I have answered the question.
Basil
Only solution I did found was to make column header hight to two rows (so that the column header doesn't get too wide) and widen the column width so that the data on each row will fit. There is no dynamic way to do this without the use of macros.
Thanks for the reply - and sorry for the delay - been travelling.
The 'Size to Data' doesn't seem to matter in web view, and the issue isn't really about the screen size: the columns won't correctly accommodate the headers whatever screen space. is available.
ATB
J
That's the conclusion I've come to ...
Thanks,
John B