Questions tagged [column-width]

282 questions
5
votes
2 answers

How to style Directory Listings with Apache Mod_autoindex using NameWidth & HTMLTable?

I am trying to adjust NameWidth while using HTMLTable but without success. Consider these settings (# = comment): IndexOptions FancyIndexing IndexOptions HTMLTable IndexOptions IconsAreLinks IndexOptions…
JDW
  • 115
  • 1
  • 8
5
votes
1 answer

XAML Columndefinitions width * not taking available space

I know how the columndefinition works in XAML but there is something I want to do and don't know how. I want 4 columns like that:
XHotSniperX
  • 712
  • 7
  • 25
5
votes
1 answer

xtable + knitr set column width html

How can I set the column widths of individual columns in the knitr (Rmd) output of a code chunk using the xtable package? MWE ```{r setup, include=FALSE} library(xtable) ``` ```{r, results="asis", echo=FALSE} print(xtable(mtcars[1:2, 1:2]),…
Tyler Rinker
  • 108,132
  • 65
  • 322
  • 519
5
votes
4 answers

How to set column width in JTable/JXTable?

My application consists of several JTables resp. JXTables. The goal is to store column width and reload them on start up. But the following code does nothing change on the column widths of the tables: tblTasks.getColumn(1).setWidth(36); and also…
salocinx
  • 3,715
  • 8
  • 61
  • 110
4
votes
5 answers

setting a prototype value (for auto-width calculation) of a JTable column

either this doesn't exist, or I'm not thinking/searching correctly because it's late... I want to set a JTable column width in Swing based on a prototype value for the largest string I expect (or know) to exist in a particular column. I don't know…
Jason S
  • 184,598
  • 164
  • 608
  • 970
4
votes
2 answers

Antd table column width issue

I use antd table in my project and often use a horizontal scroll when there are many columns in a table that cannot be displayed in a single frame. The width for each column is defined. It was working fine in previous days but now i am having a…
Muhammad Awais
  • 41
  • 1
  • 1
  • 3
4
votes
4 answers

Word-wrapping a long table cell while maintaining dynamic widths in others

I have a table which has a long line in one of its cells. I need the long line to be split so that it doesn't cause the table to be more than 100% wide. I found that by adding table-layout: fixed and word-wrap: word-break, it will wrap the long…
Senseful
  • 86,719
  • 67
  • 308
  • 465
4
votes
1 answer

Why does attempting to autofit the width of a sheet, or a single column on that sheet, fail?

I have one column whose contents are truncated, and I'd like to avoid having to 2-click the right column gutter to see the data. First I tried autofitting the entire shebang: private void PopulatePivotTableDataSheet() { if (null ==…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
4
votes
1 answer

How to set width in Ext.grid.ColumnModel in percentage terms?

How to set width in Ext.grid.ColumnModel in percentage terms?
Pavlo
  • 51
  • 1
  • 3
4
votes
1 answer

Compute column widths in a HTML-like manner (based on cell contents)

I have a grid of data that I want to export to RTF, PDF etc. using various (and not perfect) PHP converters/generators. What I am missing most is the HTML table automatic adjustment of column widths based on the lengths of strings in the cells…
cipak
  • 1,414
  • 1
  • 14
  • 20
4
votes
2 answers

Can I set auto-width on an Open XML SDK-generated spreadsheet without calculating the individual widths?

I'm working on creating an Excel file from a large set of data by using the Open XML SDK. I've finally managed to get a functional Columns node, which specifies all of the columns which will actually be used in the file. There is a "BestFit"…
Grace Note
  • 3,205
  • 4
  • 35
  • 55
4
votes
1 answer

MVC 4 Webgrid - Column Width settings using css style is not working

I am trying to set width for Webgrid column. But it is not working. Anyone help me please. Please find below my code @grid.GetHtml( tableStyle: "webgrid-table", headerStyle: "webgrid-header", alternatingRowStyle: "webgrid-alternating-row", mode:…
Thiru
  • 43
  • 1
  • 5
4
votes
5 answers

How do I make a TDBGrid's columns fit the grid's width?

I've got a TDBGrid with predefined columns, and I just can't get the width right. I can mess with the Width property of the columns in the Form Designer and get the width to look just right at design time, but at runtime, for whatever reason, the…
Mason Wheeler
  • 82,511
  • 50
  • 270
  • 477
4
votes
1 answer

How do you prevent a user from resizing the column width of a clistctrl (report view)?

How do you prevent a user from resizing the column width of a clistctrl (report view)?
user186082
4
votes
1 answer

Set width for JSF column header in fixed-size table

I have a JSF datatable with table-layout:fixed, where I'm trying to set percentage based width for each column. I figured that if i add a width attribute to the header in IE, then it works as expected. However, I cant figure out how to add this…
Stormfjes
  • 83
  • 1
  • 1
  • 8
1 2
3
18 19