How do I remove the white blank in table? - r

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.

Related

Qt frozen Column ( Text stretch on two tables)

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.

Smart resizing for rows of html inputs

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.

BIRT Column Width not being Respected

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:

primefaces datatable width not rendering good

When I use a datatable and start shrinking my browser window, the datatable has a weird behavior. The center part (where the data is), doesn't shrink but the paginator does.
Here are some pics about the problem.
Thanks in advance.
It's because it can't break up the titles in your table header. If you would place spaces in between instead of using capital letters, it would break the title up and divide it over multiple lines.
If you don't have access to the table header's name (or the ability to change it), take a look at the word-wrap-property in CSS.

JavaFX - Show cells in empty table

In JavaFX, when a table has no data, there is no grid shown, instead it is a white plane saying "No content in table".
What do I have to do if I want the common grid, just with no content instead of the white plane?
I solved the problem using two tricks:
I added one entry to the table with empty values in order to make sure the grid is shown.
I set setMouseTransparent(true) so the first entry is not clickable and the table really acts as if nothing is there.

Resources