table

TR-height shift in firefox

var userRows = new Array(); function removeUser(user) { userRow = $("#user-"+user); userRows[user] = userRow.html(); userRow.addClass("removed").html('<td>User removed</td>'); // I would give the td above the correct colspan // Now the user will be removed using AJAX } When running the JavaScript/jQuery code above, somehow i...

LaTeX: How to wrap a sideways text in a column (tabular)

Let's say we have a table \begin{tabular}{|c|c|} \begin{sideways}A\end{sideways}&\begin{sideways}B\end{sideways}\\ a & b \\ \end{tabular} How can I define the height of cells A and B, so that in case of A and B being a longer caption, the text will wrap-around the cell? Putting p{x pt} in the tabular environment's table specs doesn't...

ASP.NET TableStorageProvider for Azure tables not persisting users ?

I have a windows azure Webrole application using Silverlight on top of WCF+ASP.NET. I found this useful ASP.NET provider for Azure tables in the Azure samples and implemented it. I authenticate my users with the WCF service System.Web.ApplicationServices.AuthenticationService. It works great: I create my users with a very simple ASP.NE...

Table Border Setting

how to set table border or table's outside border with some color and size but the cells of the table have border size=0 ---------------------- | ------- ------ | | | 1 | | 2 | | | ------- ------ | | 3 | ---------------------- container 1 & 2 : which are the cells...

database table design

I design the tables as below for the system which looks like a package delivering system For example, after user received the package, postman should record in system, and the state(history table) is "delivered",and operator is this postman, the current state(state table) is of course "delivered" history table: +---------------+-------...

How do you stop HTML tables from being propped up by the content?

With some HTML like this: <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>JS Bin</title> <style> td { width:10px; } </style> </head> <body> <table> <tr><td>Text</td><td>Text</td><td>Text</td><td>Text</td></tr> <tr><td>Text</td><td>Text</td><td>Text</td><td>Text</td></tr> <tr><td>WHOA I'M A LON...

iPad Split View "Zoom Down" Table View

Hello! I am trying to get a good idea of a good way to add items to a split view for iPad. My idea was where you tap the plus button and the table view scrolls down (quickly) to below the table that is there to a screen where you can enter in the new stuff. Then when you click done it zooms back up to the main table. Is this possible a...

table based layout is not working in IE

I am trying to design a simple layout for eBay. I have never done it before and have to use html tables as the basis for the layout. It works fine in Firefox, chrome and safari but apparently does not work properly in IE (8 - latest build). You can see the layout here - http://www.rockymountainsports.ca/ebay/ebay.html Any direction wo...

Very Wide Tables in LaTeX

Is there a way to have a table in LaTeX that spans multiple pages width-wise, rather than length-wise? As far as I can tell, both longtable and supertabular will break tables over multiple pages, but only by breaking between rows and I need to break between columns. Even better would be if it were possible to have a few columns repeated ...

iReport: Passing parameters from a main report query to a dataset query for a table or list

I understand how to pass parameters from a main report to a subreport, since there's a specific field for this in the subreport object. However, I'd like to do the same thing with a table or list object as a consumer (rather than a subreport). Is it possible? For example, say I have a parameter of 'customerID' that I can populate with a...

DB2 v8 insert with CTE

I need to select from a CTE (common table expression) in DB2 v8 and insert the result into a table. The relevant documentation for v8 is hard to understand at first glance, but for v9 there's a clear example (http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.apsg/db2z_createcte.htm): INSERT INTO vi...

What index should be used for this query AND for the ORDER BY clause?

Hi, I have a MyISAM table T with the following schema: f1 (integer unsigned not null) f2 (integer unsigned not null) This table has an index on f2 and it currently contains 320 million rows, and is expected to grow at the rate of about 200,000 rows once a week. I perform the following query on this table: SELECT DISTINCT T.f1 FROM T ...

Long Tables in Latex

I am inserting a table in to a file that already has some text in it. This is at the end of a section and right before the beginning of another. First I added the following code (sample, the real table is a real long one) \begin{tabular}{|c|c|c|c} a&b&c&d\ \hline c&d&e&f\ \hline \end{tabular} Everything is fine. However I realise I ...

Database design & table relationships: where would the data go? (Image included).

I need to carryout a data capture exercise, which is looking like a large task, that unfortunately may end up being done in excel. I believe a database is more suitable, but the structure of it is probably very complicated. I've created 4 categories per Unit (30 units). Each category has 8 graphs/dimensions. Each graph/dimension has a s...

Recommendation for JQuery plugin for Tablepicker?

I'm looking for a recommendation for a JQuery plug-in that looks like and will behave like the JQuery datepicker, but allow me to pick a row from a table. A table pick list of sorts. I have to believe something like this is out there, but I can't seem to find anything like it. I'm not looking for an autocompleter -- more like when the J...

In a single mysql query, select multiple rows from one table, each containing multiple rows from a linking table

Have 2 tables with a linking table between then. USERS +-------+---------+ | userID| Username| +-------+---------+ | 1 | Nate | | 2 | Nic | | 3 | John | +-------+---------+ SITES +--------+---------+ | siteID | Site | +--------+---------+ | 1 | art | | 2 | com | | 3 | web | +-...

Invisible borders in html table not quite invisible?

I have some tables in my asp.net mvc application for layout purposes. Even though I usually use divs for most things, in some cases tables make most sense because they already have exactly the layout I'm after in these cases. The only problem is, as far as I know the borders are supposed to be invisible unless you specify a width and st...

Adding caption in LaTex without floats (tables)?

Hi I have a few tables which are not long enough to warrant the use of \longtable, but they always start on the next page which breaks the whole flow and trying to force it with a [!h] in the table did not help. So I stopped using \tables and just have \tabular tag now which seems to have fixed the layout as there are no floats. But the...

Defining an XML format for a 2D array (Grid) of items

I need to define an XML format and then read it in ActionScript3, which will be storing: the number of rows and columns in a grid the horizontal and vertical spacing in pixels the size of each square in the grid in pixels an optional label for each square in the grid an optional hyperlink for each square in the grid The following is ...

what type of event is control-click in gwt

What is the event type for the control click in a table cell in a GWT application? I want to basically change the color of the background when the user does this action. This part of my code basically just looks like: public void onBrowserEvent(Event event) { Element td = getEventTargetCell(event); if (td == null) ret...