23,089 questions
0
votes
0
answers
52
views
Table body not expanding to fill available space in flex column layout
I have a flex column layout where I need to show only one of two states (table, empty) at a time, and the active state should expand to fill all available space. The empty state works perfectly, but ...
0
votes
2
answers
154
views
How can I make a table header wide as the page, when a cell contains horizontal overflow?
I want to use a collapsible table, that always has the width of the page.
Its header cell should always have the width of the page.
The cell below shows content that needs to be scrolled horizontally.
...
1
vote
2
answers
110
views
How to filer multiple TDs with one input text box only
I have a table with six columns containing approximately 7,000 entries. Currently, the table is filtered by six separate input text boxes, each with its own JavaScript function. Each function targets ...
1
vote
2
answers
131
views
Iterate/Loop through a dynamically built HTML table?
I am currently upgrading a major MVS project and I am converting all the static GridViews to dynamically built HTML tables with Bootstrap CSS. The tables are created and look/function great.
However, ...
0
votes
1
answer
61
views
Max-width on select in table [duplicate]
TL;DR; - how do I restrict a long select element within a table?
I have a legacy system that uses a table (width:100%) which contains multiple select elements (max-width:100%).
Some (but not all) of ...
0
votes
3
answers
174
views
How to individually color html table cells
I want to individually color in cells on a 2x5 row html table, pictured in the above image.
I can't find any examples of :nth-child allowing you to individually select and set the color of multiple ...
0
votes
2
answers
100
views
<dialogue /> modal does not block body from scrolling
useEffect(() => {
if (modal_ref.current) {
modal_ref.current.showModal();
}
}, [foc]);
when my <dialogue /> component is rendered and covers the entire viewpoint, the above ...
0
votes
0
answers
30
views
HTML table head is shorter than table body on fixed table body [duplicate]
I am curently trying to create a product table for an onlineshop. The Shop owner wants the table header and the search bar (see picture) to be fixed. Instead of fixing the header and searchbar i ...
0
votes
1
answer
51
views
Make a HTML table fill height of enclosing td with CSS?
I have a table, where the first cell in the second row has a content created by a JavaScript component, which means I a-priori do not know its height and width - but in the below snippet, I simulate ...
-1
votes
2
answers
88
views
HTML Table data alignment issue
The issue, I am having here, is with the Description value within the Details column. When the items names are too long, I see the whole value drops to the next line. What I am trying to do is having ...
0
votes
0
answers
121
views
How can I remove the space below the table?
I have the following HTML table:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="...
0
votes
0
answers
36
views
Can input elements being positioned in Drupal 10 into a table
I have in Drupal 10 made a simple table that is being build with a PHP as part of a module.
When I use a buildForm-function, I can not position the input fields. I want these to be as if they were ...
0
votes
1
answer
195
views
Why is Gmail adding space between elements in my HTML signature?
I've created an HTML email signature that I'm trying to bring into Gmail. The method I've used over the years is to open the HTML file in browser, select + copy all, then paste into Gmail's email ...
1
vote
1
answer
294
views
How to give a fixed width to one row's table cell, with the other cell being responsive width, when other rows are all a single cell and responsive
I have the following table:-
<html>
<table style="table-layout: fixed; width: 100%; color: black; bgcolor='#e6f8d6';" border="1" cellpadding="4" cellspacing="4">
<tbody>
<tr>
&...
2
votes
3
answers
191
views
Generated table creates non-square table cells
I'm trying to construct a table dynamically, with a size determined by the current width of the browser window.
Since the table cells' sizes and their containing div's size are both being set relative ...
-1
votes
1
answer
36
views
Visualforce component not printing footer
I have a sample here some data here that i want to render.
The problem is that it is not showing the grand total section and is just a big blank row.
What am i doing wrong that is causing the issue:
...
1
vote
1
answer
65
views
Angular/HTML Add button after text-overflow in table cell
I have a table and some cells overflow. These <td>'s have a class that give them an ellipsis at the end. But is there a way I can add a small button/span/whatever AFTER the ellipsis?
<td #...
0
votes
0
answers
36
views
Is there a way to dictate cell colour overlap when using rowspan and colspan in combination?
In HTML, is there a way to dictate cell colour overlap when using rowspan and colspan in combination? Here's a table where the yellow row (created by colspan) overrides the red column (created by ...
0
votes
1
answer
60
views
Is it possible to populate a table with missing <td> tags using jquery?
I have the following table, with two <td>---</td>
<table>
<tr>
<td>Item 1</td>
<td>Item 2</td>
<td>Item 3</td>
</tr>
...
0
votes
0
answers
51
views
Can't focus on <td> element in React upon tab press (React)
my React app features a table that displays a grid of input elements. The grid is displayed using a <table> HTML element. Inside of the table I've got a <tbody> element that contains a set ...
-1
votes
1
answer
145
views
How to add index column to HTML <table> using just CSS? [duplicate]
How to add an index column to a HTML <table> using just CSS?
Before:
ITEM PRICE
Banana $2
Orange $1
After:
No. ITEM PRICE
1 Banana $2
2 Orange $1
How to add it automatically? I.e., what ...
0
votes
1
answer
65
views
How to make row span on grid view grouped by category?
I work on GridView I can't create a row span for categories that include multiple activities, each category cell should encompass several activity cells.
So I will group by Category that represent by ...
1
vote
2
answers
91
views
Cannot merged two cell 9 and X into one cell in HTML table
I tried to create html table based on below image but could not set two cells in one cell of table.
I got below output, where I cannot merge cell 9 with cell X, if I want then table structure is ...
1
vote
3
answers
185
views
Why does the overflow clip not work on a table in chrome?
I have a table with a tr that is reduced and can be opened as a menu, my problem is that in my code I put the tr in position absolute with an overflow clip and the content in position relative and it ...
4
votes
1
answer
82
views
How to make contenteditable respect the initial size of a table cell?
My table has 3 cells: the first two contain inputs, and the third one has my contenteditable. Each cell has a width of 33.333%. When I type text into an input and it overflows, everything works fine — ...