Questions tagged [column-width]
255 questions
766
votes
20 answers
How do I expand the output display to see more columns of a pandas DataFrame?
Is there a way to widen the display of output in either interactive or script-execution mode?
Specifically, I am using the describe() function on a pandas DataFrame. When the DataFrame is 5 columns (labels) wide, I get the descriptive statistics…
![](../../users/profiles/1560238.webp)
beets
- 8,051
- 4
- 14
- 11
588
votes
16 answers
Set the table column width constant regardless of the amount of text in its cells?
In my table I set the width of the first cell in a column to be 100px.
However, when the text in one of the cell in this column is too long, the width of the column becomes more than 100px. How could I disable this expansion?
![](../../users/profiles/247243.webp)
Misha Moroshko
- 148,413
- 200
- 467
- 700
67
votes
10 answers
how to increase sqlplus column output length?
I have some queries to find out the ddl of some objects from a schema.
The result columns I am getting are truncated in the middle of the queries.
How can I increase the width of the column?
I tried with
SET SERVEROUTPUT ON SIZE 1000000;
SET…
![](../../users/profiles/510360.webp)
Mohamed Saligh
- 11,048
- 17
- 61
- 83
41
votes
5 answers
Force HTML Tables To Not Exceed Their Containers' Size
This question has been asked several times, but none of the answers provided seem to help me:
See this in action here: http://jsfiddle.net/BlaM/bsQNj/2/
I have a "dynamic" (percentage based) layout with two columns.
.grid {
width: 100%;
…
![](../../users/profiles/999.webp)
BlaM
- 26,721
- 31
- 89
- 104
34
votes
4 answers
How do I databind a ColumnDefinition's Width or RowDefinition's Height?
Under the View-Model-ViewModel pattern for WPF, I am trying to databind the Heights and Widths of various definitions for grid controls, so I can store the values the user sets them to after using a GridSplitter. However, the normal pattern doesn't…
![](../../users/profiles/483.webp)
Nidonocu
- 11,696
- 6
- 38
- 42
21
votes
5 answers
How can I set a width to visually truncate its displayed contents?
I'm trying to set a column width of a table, which works fine until it gets to the point where child elements would be visually truncated ... then it won't size any smaller. ("visually truncated"-what doesn't fit appears to be hidden behind the…
John MacIntyre
- 12,653
- 12
- 62
- 102
21
votes
3 answers
Python-docx, how to set cell width in tables?
How to set cell width in tables?, so far I got:
from docx import Document
from docx.shared import Cm, Inches
document = Document()
table = document.add_table(rows=2, cols=2)
table.style = 'TableGrid' #single lines in all cells
table.autofit =…
girdeux
- 375
- 1
- 3
- 10
18
votes
2 answers
jQuery: get each element's width and sum them up
How can I get each element's width and sum them up?
For instance, here is the HTML:
laukok
- 47,545
- 146
- 388
- 689
16
votes
5 answers
Is there a way to specify ag-grid column width in percentage?
Right now, the only way I see to specify column grid width is to add a width property to column definition like:
columnDefs: any[] = [
{
headerName: 'ID',
field: 'id',
width: 50,
type: 'numericColumn'
}
];
But as we can see in…
HDJEMAI
- 7,766
- 41
- 60
- 81
15
votes
1 answer
How to remove ellipsis from a row in a Python Pandas series or data frame, shown when long lines/wide columns are truncated?
When I create the following Pandas Series:
pandas.Series(['a', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'aaaaaaaaaaaaaaaa',…
mpjan
- 1,500
- 5
- 16
- 21
12
votes
4 answers
Why TD width is not working or not followed?
Original question: Does HTML have a default width?
Recently someone asked a question somewhere along these lines, and got me wondering.
Take this for example.
http://jsfiddle.net/rqmNY/1/
In this fiddle, if you were to check its width (I'm…
He Hui
- 2,020
- 4
- 25
- 44
11
votes
3 answers
Common coding style for Python?
I'm pretty new to Python, and I want to develop my first serious open source project. I want to ask what is the common coding style for python projects. I'll put also what I'm doing right now.
1.- What is the most widely used column width? (the…
Oscar Carballal
- 7,598
- 13
- 43
- 66
11
votes
5 answers
css display:table first column too wide
I have a css table setup like this:
name
details
The css for the table is:
.table{
display:table;
width:100%;
}
.table div{
text-align:right;
display:table-row;
…
Mestore
- 145
- 1
- 1
- 8
11
votes
2 answers
Width in pixels of a text/caption in Delphi 7
Here is my problem, I want to know actual length of the text in pixels (note that various letters have different length in some fonts). I am going to use this for better column width adjustment in DBGrid.
Tofig Hasanov
- 2,145
- 8
- 43
- 72
10
votes
3 answers
Excel / VBA: auto-adjust column width after pasting data
I have a blank Excel table saved as a template into which I copy data from the clipboard (originating from a website).
Is there a way using VBA to auto-adjust the width of each column to its content after the data (text) has been pasted in ?
Edit:…
user2571510
- 10,087
- 36
- 80
- 133
I'm trying to set a column width of a table, which works fine until it gets to the point where child elements would be visually truncated ... then it won't size any smaller. ("visually truncated"-what doesn't fit appears to be hidden behind the…
![](../../users/profiles/29043.webp)
John MacIntyre
- 12,653
- 12
- 62
- 102
21
votes
3 answers
Python-docx, how to set cell width in tables?
How to set cell width in tables?, so far I got:
from docx import Document
from docx.shared import Cm, Inches
document = Document()
table = document.add_table(rows=2, cols=2)
table.style = 'TableGrid' #single lines in all cells
table.autofit =…
![](../../users/profiles/7775166.webp)
girdeux
- 375
- 1
- 3
- 10
18
votes
2 answers
jQuery: get each element's width and sum them up
How can I get each element's width and sum them up?
For instance, here is the HTML:
![](../../users/profiles/413225.webp)
laukok
- 47,545
- 146
- 388
- 689
16
votes
5 answers
Is there a way to specify ag-grid column width in percentage?
Right now, the only way I see to specify column grid width is to add a width property to column definition like:
columnDefs: any[] = [
{
headerName: 'ID',
field: 'id',
width: 50,
type: 'numericColumn'
}
];
But as we can see in…
![](../../users/profiles/5377805.webp)
HDJEMAI
- 7,766
- 41
- 60
- 81
15
votes
1 answer
How to remove ellipsis from a row in a Python Pandas series or data frame, shown when long lines/wide columns are truncated?
When I create the following Pandas Series:
pandas.Series(['a', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'aaaaaaaaaaaaaaaa',…
![](../../users/profiles/1715271.webp)
mpjan
- 1,500
- 5
- 16
- 21
12
votes
4 answers
Why TD width is not working or not followed?
Original question: Does HTML have a default width?
Recently someone asked a question somewhere along these lines, and got me wondering.
Take this for example.
http://jsfiddle.net/rqmNY/1/
In this fiddle, if you were to check its width (I'm…