Questions tagged [column-width]
282 questions
973
votes
22 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 five columns (labels) wide, I get the descriptive statistics…

beets
- 10,261
- 4
- 18
- 11
669
votes
18 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?

Misha Moroshko
- 166,356
- 226
- 505
- 746
72
votes
11 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…

Mohamed Saligh
- 12,029
- 19
- 65
- 84
49
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%;
…

BlaM
- 28,465
- 32
- 91
- 105
39
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…

Nidonocu
- 12,476
- 7
- 42
- 43
36
votes
6 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
- 585
- 1
- 5
- 11
22
votes
7 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
- 9,436
- 46
- 67
- 93
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,910
- 13
- 67
- 106
20
votes
3 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:
Run
- 54,938
- 169
- 450
- 748
20
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,790
- 5
- 18
- 21
13
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…
CastleDweller
- 8,204
- 13
- 49
- 69
13
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
- 165
- 1
- 1
- 8
13
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
- 3,303
- 10
- 51
- 81
13
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,196
- 4
- 29
- 46
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
- 11,167
- 39
- 92
- 138
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,910
- 13
- 67
- 106
20
votes
3 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:

Run
- 54,938
- 169
- 450
- 748
20
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,790
- 5
- 18
- 21
13
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…

CastleDweller
- 8,204
- 13
- 49
- 69
13
votes
5 answers
css display:table first column too wide
I have a css table setup like this:
The css for the table is:
.table{
display:table;
width:100%;
}
.table div{
text-align:right;
display:table-row;
…
name
details

Mestore
- 165
- 1
- 1
- 8
13
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
- 3,303
- 10
- 51
- 81
13
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…