The second column on my report is not formatting the same as the first column - crystal-reports

I need it to look like a table so it looks similar to what the old program's report did. I finally figured out how to do columns, then I added lines between each field both horizontal and vertical. The first column formats with this correctly, but the second column only adds the line horizontally. See the screenshot:
Any help?

Personally, I prefer the new version. Less clutter. But if you want to add them, you can:
Put borders around your cells. This may cause some problems with overlap, but you can work around that by only putting borders around the Item and Price fields.
Use your line tool to draw 4 vertical lines in both the Detail and Report Header sections.

Its blind guess.. If you have copied the lines from first column there is possibility that they don't showup in second column.
Try to draw the lines again and check.

Related

How to add tableau column header

I am trying to add rows to sheet to create a tableau table. I cant seem to think how to get table headers in the Y axis
It should look something like this.
However I have got something like this without the row wise headers or panes separating each row.
Also I want to look better
Heres what I got.:
Please help
This is simple.. You have added all pills to columns. Move measures to rows and let them be continuous only. One tip for easy formatting like a cross tab.. double click second measure

How to properly display a grid

I need to change a crystal report. It's a simple grid with header, footer and rows inside a group.
The grid is drawned with lines and inside each square a field is added to display the data. Is this the "normal" way of doing this? I would expect just adding fields with borders would be enought without the need to draw the grid line by line.
I'm using version 14
If you are happy with the kind of display with borders to the fields then you don't need to add the lines to form a grid else if you need to be more user friendly then you can add lines.
Either of the option is just a design change but not the logic change in the report...
So the answer for this question would be up to the user requirement and design requirement of the report

iText split PdfPCell when cell is kept together

I am using a table to create a semblance of what is depicted below. The content I'm generating isn't known before hand. The blue sections of the columns are cells that are kept together in the table and I am using ColumnText to display the table. For clarification I have outlined a sample cell layout in the top right of the image. The problem I'm running into is that when I use setSplitLate(false) with setSplitRows(true) alongside with using keepRowsTogether(int[] rows) the splitting doesn't work correctly. Most of the top right section should be able to fit into the bottom left but as shown in the image it is all moved to the top of the next column.
Is there a way to cause the cell to split as well as keep together with it's header? When I remove the keepRowsTogether(int[] rows) call the cell splitting works as expected.
Also, in my situation I only want it to split if there are two lines at the end of the column and two at the beginning of the next. In other words the cell would only split if it contained 4 lines of text. How would I go about doing this?
I modified the top right column as depicted below, blue representing the rows that are kept together.
As depicted, I have a cell for the header as before but I've split up the paragraph into many different cells. The first and last contain cells with two lines of text and the rest contain one line of text. This way I'm guaranteed that the header will stick with at least the first two lines of the bulleted paragraph. If the last two lines, or the last cell, end up not fitting in the column then because the cell contains two lines, I'm guaranteed that at least two lines will be carried over to the next column, if not more, depending on how many of the middle lines carry over as well.

Crystal Reports fields won't align

I have several items that I want to line up. The Width and Height of all fields match. Usually I just use the Align, but it's making it worse. My out of line field which is slighly lower, moves way up, way out of line (with align tops)
So I tried using the Size and Position to set it manually. Several objects have a Y of 0.056, but my last one has 0.061. I change the last one to 0.056 and save it. It doesn't appear to be different, and when I look at it again, it's still 0.061. (When I used align, it went up to 0.028!)
I do NOT have Snap to Grid set (my grid size is 0.083). (Nor does turning on Snap to Grid make them align.) The fields have exactly the same formatting. But unless I can magically make them align by hand, they refuse to align. Why?
You've already done a lot of the regular troubleshooting steps. One more ting that I sometimes do is to select all the fields I want to align, then use the arrow keys and move them up into the section above and then back down into their original section. That usually puts them all into the 0 position. If it dosn't work with all of them selected, try each one separately.

SWT/JFace Column and Line Span in TableViewer

I need to span some column and rows in a TableViewer. The image bellow pretty much speaks for itself.
http://postimage.org/image/28l8re8lg/
I was thinking of implementing this by making some line invisible(white) but I don't think you can set individual border options for individual cells. Even if i managed this I would stil have to fix the alignment problem of the text in the spanned columns/rows ("Line Span" and "Column Span" in the picture).
I know about the Nebula Grid component, but I can use 3rd party components only as a last resort.
If anybody has any suggestions please share them:).
Thanks in advance.