Questions tagged [tablerow]

Table row is a row in a table where object are arrange at the same height, from left to right. This concept is supported by HTML and several GUIs.

A row places objects horizontally left to right. The width of each column is determined by the width of the widest object and can be adjusted through various padding, weight, fixed width and similar settings.

The width of the same column in the same table is the same for all rows. In some cases it is possible to span the cell in a row over multiple columns, and sometimes (like in HTML) a column may span multiple rows.

The first row in the table may contain the column names (header row). It may be displayed differently and may also scroll differently (staying at the top for vertical scroll like in Java JTable).

Some platforms (Android, for instance) support arbitrary views in the role of the table row. Such views simply span over the full width of the table.

861 questions
157
votes
15 answers

How to show multiline text in a table cell

I want to show a paragraph from database into a table cell. The result is a large 1 line, ignoring how its organised in database. ignoring 'enters' for example (new lines) I want to show it exactly according to how it's written in database. For…
Shady
  • 1,701
  • 2
  • 13
  • 14
102
votes
3 answers

jQuery each loop in table row

I am having something like:
ANP
  • 15,287
  • 22
  • 58
  • 79
83
votes
2 answers
.... …
Andriy Khrystyanovich
  • 1,422
  • 3
  • 19
  • 38
51
votes
5 answers

Android and displaying multi-lined text in a TextView in a TableRow

I'm displaying a TableLayout with rows as follows:
Ken
  • 30,811
  • 34
  • 116
  • 155
34
votes
21 answers

Live search through table rows

I want to do a live search through the table rows, using jQuery, the "live" word is the key, because I want to type the keywords in the text input, on the same site and I'd like jQuery to automaticaly sort (or remove those who doesn't match the…
Sapp
  • 624
  • 2
  • 7
  • 13
33
votes
2 answers

Using display:table-cell without table-row

I recently noticed that it is possible to use display: table-cell; on an element without surrounding it with an element using display: table-row; Example (working in IE, Chrome, FF, Safari, Opera):
squarebrackets
  • 987
  • 2
  • 12
  • 19
29
votes
3 answers

Can we solve the table row background image problem, in chrome, in multi celled tables?

It is frequently asked – but I haven’t seen a good answer yet (and I looked). If you set a background image in CSS to a table row- the image will repeat itself in every cell. If you set the position: relative (for the row) and set the…
Ya'el
  • 291
  • 1
  • 3
  • 6
28
votes
5 answers

Get all TableRow's in a TableLayout

I've been looking for hours on how to get all TableRow's in a TableLayout. I already know how to add and delete rows dynamically, but I need to loop over all the rows and selectively delete some of them. I think I can come up with a work around, but…
eugene
  • 2,519
  • 3
  • 17
  • 5
26
votes
11 answers

jQuery append and remove dynamic table row

I can add many rows for a table, but I can't remove many rows. I only can remove 1 row per sequential add.