I have 2 tables, one on top of another to achieve frozen Column (left side), but in some row, I would like to have some Text stretch across entire row.
How can I make it to display as a line without any missing characters in between ?
Thanks in advance.
1) Allow word wrap in table cells.
2) Show full cell text as tooltip.
Related
I have a grid inside a component which has some rows and columns. The problem is that there is some empty space after the last row of the grid and I want to get rid of it. This is what it looks like in the inspector, it actually shows that the whole content is the grid, whereas only the rows with actual information are the content of the grid. I want to remove this white space which is there for no reason. For clarification this is the empty unwanted space:
You could use setHeightByRows to set the Grid to contain a fixed amount of rows, or setHeightUndefined to always show all the rows (bad idea if your Grid ever has massive amounts of data in it).
I have a tr with td's containing inputs. I'm not applying any size attribute or style with regard to width.
Some inputs contain just single digits and some contain words. The ones containing single digits have much extra white space and the ones containing words contain far less.
When I resize the page containing the table, the table shrinks to keep fitting 100% of the page. But, all the inputs seem to basically resize at about the same rate with no regard for which input has the most space to give up. By space, I mean the empty area in the input that does not show any data; the extra space to the right (as my inputs are left aligned).
Is there a css property that would apply to this situation to help accomplish reducing the size of the inputs which have the most white space to give up first and putting off truncating visible text as long as possible?
You could try auto sizing the inputs using a script like this:
https://stackoverflow.com/a/931695/288568
Anyways, the script is not for drop downs so far, but could be adapted.
But: If in the first line there is a 1 and in the second a 11 then the inputs would have different sizes.
I'm trying to create a BIRT report. The code and query side of it works just fine, but the display is rather wonky.
There's one column whose text contents are rather long, and instead of showing some text and allowing scrolling of the text (which is the behavior I'd like there), it simply shows up as a very vertically long text block; kinda ruins the report a bit. I've also tried setting the width on the column, but no dice there either. Any ideas?
Also, as an aside, how do I get the table's columns to have grid lines? I can do that on the rows, but I can't seem to figure out how to do that for the columns. If anyone has insight into that issue, it'd be appreciated.
Here's a screenshot of the issue
Here's my BIRT report XML, without headers and footers in order reduce characters
I think there is no way to use a scrollable view element inside your report, because the output by the default html-emitter is completely static (I would like to see a different answer if this should be wrong).
To your second Question about how to add a border to a column. Click into the cell of your table, click on "Border" inside the "Properties Editor" and select the borders you like to use. This should be repreated for all cells where you want to use the borders, because this configuration is not applied for a whole column but just for one cell. If you want a border for the whole column you need to setup the border for every cell in the column.
If you have already a data cell inside your table cell, you can use the outline view to select the table cell instead of the data cell:
Have a look at below image, which is a QTableWidget :
You can see that it's a rows with alternating color. But you can also see that it's not vertically filled the table. Which gives a --in my perspective-- rather unpleasant appearance.
If the row content is unable to fill the table vertically, how can we make sure that the alternating rows get drawn vertically full?
That's IMHO not possible without subclassing QTableWidget since Qt only colors actual table rows. In your example the table is not entirely filled with rows, so there's no alternating coloring of the whole table.
When I read table in R, I get this table. You can see that, there is a huge gap between Scored and Annotation text.
How I remove the white blank between them?
Or how I cut the huge string? More be precise: How can I fix table size (and it will be cut automatically).
When i print the table in shiny UI it's seem like this:
Your annotation text is right aligned. Make it left aligned or have your
Annotation comes in the first column and the for a better look.