When applying a bottom border to a table, with "border-collapse" set to "collapse", weird random bottom borders appear below some table rows, of varying widths -- they appear and disappear when scrolling, sort of like the IE6 "peekaboo bug"; resizing the window, or switching to another application and back again, makes them go away, scro...
What is the correct way for building a scrollable list with images
that will be able to dill with 400 items?
Should I use UITableView for these?
What is the correct way for storing and retrieving the data? SQlite?
Thanks-
Nir.
...
This is probably best explained with an example. I have the following table, where the "A" cell spans two rows, and the "B" cell spans two columns.
\begin{table}[htdp]
\begin{tabular}{l|r|r}
\multirow{2}{*}{A} & \multicolumn{2}{c}{B} \\
& B1 & B2 \\
a & b1 & b2 \\
a & b1 & b2 \\
\end{tabular}
\end{table}
_ _ _ _ _ _ _ _ _ _ _ _
|A ...
So I've got a Core Data setup where each object has an NSDate, and a method that returns the date as a string (ie, "12/15/2009"). The objects are displayed in a table view, and I'd like to sort them into sections based on the date string. Apple's example code in the CoreDataBooks app uses this line:
NSFetchedResultsController *aFetchedR...
I have the following CSS code for my HTML table, but for some reason the border doesn't go over the header row (the <th>). It's definitely something simple that I missing but I can't seem to figure it out.
#dependenciesTable tr.odd {
background-color: #ffffff;
}
#dependenciesTable tr.even {
background-color: #CDE0F6;
}
#depend...
In my dissertation, I have a glossary that explains some abbreviations I use. I put this in a table to make it look nicer. However, LaTeX does not break lines at the end of the page.
I know that I could force a line break at any point in the table, but it is a long table (much work!) and manual line breaks make the text look jagged and ...
I have a form with elements structured as so:
<div>
<label>Name</label>
<input type="text" name="name" />
</div>
<div>
<label>Address</label>
<input type="text" name="address" />
</div>
The way I want it to look is, the label is positioned next to the input box and the input box expands to fit the entire container. If I s...
i am using the jquery datatable plugin. i have the following code that sets up alternative backcolor on an html table.
$('#dependenciesTabletr:odd td').addClass('odd');
$('#dependenciesTabletr:even td').addClass('even');
$('#dependenciesTable').dataTable({
"bPaginate": false,
"aaSorting": [[2, "desc"]],
"bJQueryUI": false,
...
I want the primary key values to start from 1 again.
...
I have a dropdown cell and after clicking on an item i want to add a row to a html table. I did this using javascript: (addRowToTable is a basic javascript function)
<script type='text/javascript'>
$(document).ready(function() {
$('#locations').change(function() {
if (this.selectedIndex != 0) {
v...
i have tested this and the reason i asked the question is that it seems to be doing different things for different tables.
i couldn't find any documentation on if this is configurable or not. I would have thought it would do the bottom but i have a few examples where i see it adding rows at the top or even in the middle sometimes. it ...
What is your way of creating and populating test tables in MySQL when looking into SO questions where tables (but not CREATEs) and test data (but not INSERTs) are provided?
And what client do you use?
EDIT:
Here's a simply example of what I mean on SO.
...
question is in the subject
...
Merry Christmas and Seasons Greetings all!
Quick question, looking for some recommendations. I have a site that will be requesting data from a database and displaying back to the user in a table. I am using jQuery (AJAX), php, and MySQL.
Where is the best place to generate the HTML for the table to display the data: should the php gen...
I have a button that will create a new entry (row in a table) dynamically using jquery. Each entry is a row in a html table.
for each row, each column has an input (textbox, radio button, checkbox) etc.
because you can add as many rows as you like you end up with some array or collection of these rows.
When i post the form, i dont ...
i tried using this:
var rowCount = $('#locationsTable tbody tr').length - 1;
but the one issue is that you can't tell if there is 1 record in the table or 0 records because, when there are 0 records, jquery datatable plugin shows one extra tr row that says "No records matched"
is there a better way to get actual valid row/record cou...
I am using an MVC pattern to represent a table with many records of music albums. To each music album there are attributes (genre, artist, ratings, etc). Each attribute can have multiple values (so the genre of one album can be both "pop" and "latin", for example). I want to represent those attribute values using table(s).
So there are ...
i have code:
<table id="table_id">
<tr id="tr_id">
<td id="td_id">
<p id="tresc"> text </p>
<a href="#" id="link">more1</a>
<p id="tresc_more" style="display:none"> more text 1</p>
</td>
</tr>
<tr id="tr_id">
<td id="td_id">
<p id="tresc"> text </p>
<a href="#" id="link">...
Hi,
I have an HTML table with 8 columns and multple rows. The contents of each cell is generated dynamically and it is hard to predict the width of any column. I set table width=100% as I would like the table to take up the entire width of the div. I would like columns 2 through 8 to stay the same as width as if I did not set a table ...
Does anyone know the best way to set the background of a row or cell as a 'progress bar'. For example if the 'percent used' cell value is '50%' the bar fills half the background of the row or cell.
I am using PHP to generate the table, so maybe I could use a single colour image in the cell and set the width of the img. How would I get t...