Questions tagged [column-sizing]

14 questions
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
4
votes
1 answer

Set CONSTRAINED_RESIZE_POLICY for columns without first (for number of row) in tableView JavaFx

I have tableView with first column for row number. I would like to set CONSTRAINED_RESIZE_POLICY for all columns without first. I made: //First column implementation column.setPrefWidth(40); column.setResizable(false); ... //Make other…
xav9211
  • 191
  • 1
  • 3
  • 14
2
votes
2 answers

How to alter column size of a view in Oracle

I am trying to alter the column size of a view with the same command that we use for table like : alter table STUDENT modify ( ROLL_NO VARCHAR2(80) ); But its throwing error SQL Error: ORA-00942: table or view does not exist So how we can…
Danish
  • 189
  • 2
  • 3
  • 14
2
votes
3 answers

What is the best way to implement 'Excel like column sizing' for an HTML table?

I want to allow the user to resize columns in an HTML table, using the same method as you would in Excel. Drag the space between columns and size. I did some research on this last year, and found a few hacks and kludges. Most were pretty bad, and…
John MacIntyre
  • 12,910
  • 13
  • 67
  • 106
2
votes
3 answers

Grails: Setting the length of a NUMBER column?

I'm trying to tell Grails to create columns of a specific length. This works great for strings, however, for columns of NUMBER type, no matter what I try it keeps creating the default NUMBER(10,0) size. I've tried: static mapping { …
Harry Muscle
  • 2,247
  • 4
  • 38
  • 62
1
vote
1 answer

DT::datable manual column width adjustment with Shiny App

I would like to know if a DT::datatable output object's columns can be automatically adjusted inside a Shiny App? This seems like a very popular interface but I can't seem to do a simple manual column size adjustment, like the Rhandsontable, with…
Diego
  • 392
  • 3
  • 16
1
vote
1 answer

HighCharts - Make labels appear dynamically based on column size

I want to make the label to appear dynamically based on the size of the column. For example if the column is smaller than 2px no label should appear. I dont want it to be based upon the value. I want it to be based upon the actual pixel size of the…
1
vote
1 answer

changing the size of column using PHPExcel

I met some troubles while using PHPExcel, In fact I have read all the tutorials I've found but it does not work for me. I've put this code on the page: $i = -1; // index des…
Stanislas Piotrowski
  • 2,595
  • 10
  • 40
  • 59
0
votes
1 answer

AG-Grid autosizeAllColumns() makes columns wider than necessary

I am using ag-gird table with plenty columns. For still displaying the whole content of each column I want to use autoSizeAllColumns() on the columnApi. I can see the whole content of a column, however this setup makes my columns even wider than…
Alex
  • 81
  • 6
0
votes
1 answer

Is there some easy way to specify a MaxWidth for a WPF DataGridTextColumn that only affects auto-sizing?

In a WPF app I'm using a DataGrid to display data from a text file that has been parsed into multiple columns. One of the columns in particular contains text of very variable length. As the column widths auto-adapt to their content by default, some…
Oliver Giesen
  • 9,129
  • 6
  • 46
  • 82
0
votes
1 answer

I want to make the first column use all width when second column is made invisible

i have this html code, and i want to make the first div grab all the width when second div is made invisible, this works, however I wanted to know if it can be done in more graceful way in bootstrap 5.1:
akaghzi
  • 27
  • 4
0
votes
1 answer

Dynamic column sizes in relational databases

Assume we have a system which includes a relational database (Say, MySQL or Oracle, for instance) which is populated by a scheduled job which consumes data from an external API. Also assume there are no guarantees for the size of data (e.g. size of…
0
votes
1 answer

HTML5 video sizing issue in IE

Using html5 video tag inside of a bootstrap framework. Works great in every browser minus IE 9 or less. Here is the site URL for reference: http://www.randyrosario/Website/TimSimmon/MLM.html.com Any assistance would greatly appreciated.
0
votes
0 answers

VBA Excel 2010 prevent columns from resizing

I have a macro for sizing a spreadsheet rows and columns precisely in cm. It works like a charm. My point is that as soon as I fill in the cells with data, the cells columns get resized by the application at the run time (rows size keeps…
hornetbzz
  • 9,188
  • 5
  • 36
  • 53