table

Mathematica's Tables and Modifications in Octave?

How can I do Mathematica-style a = Table[2^(2 k) + 1, {k, 1, 3}] Last[a], First[a] Append[a,3] in Octave? ...

Using VBA for Word, how do I create a range of table cells?

I'm trying to learn how to handle Range objects in Word VBA with regards to MS Word tables. Using the Range object help, it would seem I can create a range of cells as long as the cells are contiguous, however I cannot seem to get the syntax for specifying the Start and End points of the range using cells. For example: Set rngCells = ...

Selecting table columns (jQuery)

I want to give ALL (including ) cells of FIRST and LAST columns some specific classes, I tried this: $("table tr:first-child td:first-child").addClass("first-col-cell"); $("table tr:last-child td:last-child").addClass("last-col-cell"); ..but it doesn't seem to work. Would appreciate any help. Thanks! ...

how to solve the ie 8 table row background image bug

Hi, anyone can help me solve this problem? the solution doesent work on IE 8. in a nutshell - if you apply a background picture to a table row the background is applied to the inner cells. thanks! ...

How to increment a selected table row on iPhone

Okay, I am about getting completely nuts here... :-( I've been trying for weeks now but to no avail. So if someone was able to help me with the following, that would be great! So here is what I'm trying to do. My app is basically a rss reader. The topics of the rss entries are displayed in a table view. Tapping on an entry opens a web v...

Renaming rows and columns in R

I'm running the following script: cause = c(1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2); time = c(1, 1, 2, 3, 3, 2, 2, 1, 1, 2, 2); table(cause, time) And I get the following:           time cause 1 2 3        1 2 2 2        2 2 3 0 What I want is this:                time      cause 1 2 3   Maltreat 2 2 2 Non-Maltr 2 3 0 So, my questi...

Incorrect cell selection with rowspan (jQuery)

Markup: <tr> <td colspan="3" rowspan="4">1</td> <td>2</td> <td>3</td> </tr> jQuery: $("table tr td:first").addClass("first-col-cell"); $("table tr td:last-child").addClass("last-col-cell"); ...according to jQuery documentation :first selector should only select the first td (1) but it also selects other 2. Thanks ...

write data on same line as table

so i have a table... to sweeten things up, lets say i have this: <table style="border: apx #FF0000 solid; width: 1%;"> < tr> < td>a< /td> < /tr> < /table> they all have a space at the bigging so it will show, in the normal code it does not have the spaces the table i am doing it different, but it made in php, and i this...

Adding class to all elements using :eq

I want to add the class 'second-col' to all second TD's in each row, but this isn't working: $('table.tst3 tbody td:eq(1)').addClass('second-col'); Thanks! ...

Creating a custom jQuery countdown table.

Hi guys, before you reply or downvote - I'm not asking for somone to code this for me, I just want a bit of advice and guidance. Basically, I started learning jquery last week and for my first project I want to make a countdown table. e.g. ===================== Time|Desc --------------------- 1.03|Item 1 --------------------- 0.50|Item...

Table Validation Weirdness

Im having a strange validation issue that I cant seem to figure out. Why would the first td cause a validation error? Is it something to do with the way I am specifying my widths? Thanks http://jsbin.com/esogu ...

How to convert vector from 1-row table in R

In R, I have a 1-row table. How do I convert that to a vector? Specifically, the table is this: 0 1 2 3 4 21 35 46 62 36 I've tried bracket notation but to no avail! ...

HTML/CSS: Table cell with image rendered too large in IE

I have the following simple table to reproduce the issue: <TABLE> <TR> <TD style="border: black solid 1px; width:24px; height:68px; margin:0px; padding:0px" > <IMG style="width: 24px; height: 68px; margin:0px; padding:0px; border:none" src="Image24x68.png"> </TD> </TR> </TABLE> The image is actually 24x8...

how to create a table like structure in Flex with rows as text inputs or can I have input fields in the datagrid column??

I want to create a table like structure in Flex, with labels as header. The rows entries might be a check box or a text input box,Like give below. select | task name | task id | task type (check box) | (text box) | (text box) | (text box) (check box) | (text box) | ...

Table border-collapse Issue

I have border-collapse: collapse set for a table, looks fine except the bottom border is cut-off: Any workaround for this? Thanks ...

Why doesn't the wdBorderVertical exist when using a range of cells instead of a selection?

FYI, I'm using Perl and Win32::OLE, but the error is a Word VBA one. Using Perl's Win32::OLE module, I'm trying to create a table in Word and format certain elements of it. I created the table (15 x 3) and successfully created a range object pointing to the cells from (2, 1) to (14, 3), i.e. all cells except the top and bottom rows. I ...

How can I synchronize two MySQL tables that have different structures?

I am migrating from one system to another and in the process, I will be running both systems concurrently. I need to be able to synchronize uni-directionally from one table to another while maintaining each table's primary keys. In this example, I have two tables (A) and (B). I need to synchronize value1 and value2 (below) from table B ...

Need a sortable JavaScript table which can handle real-time updates

I need a sortable table or grid widget in JavaScript which can handle real-time updates. I will be updating rows within the table via updates from Comet and preferably don't want a widget that requires me to redraw the whole table on each update or hogs the CPU when updating. ...

How to select text in columns in a table

Hi, Is there anyway to get the text on an HTML table to be selectable like the tables in MS Word? In a normal html table, when the user selects text using the mouse, the text is selected in ROWS. In MS Word, it is selected in COLUMNS. I am using IE8 in standard mode. I don't mind if the solution uses script or css. Any help would be ...

XHTML Strict Table with Varying Column Width

I'm trying to put to gether a navigation bar using a table: There are n links to different parts of the website There is one "logout" link, which is an icon of fixed size What I'd like to do is the following. The available width for the whole bar (which is known in advance) minus the required width of the icon should be divided equal...