table

Jquery Tablesorter in ruby on rails

I am using Ruby on Rails and have a table that I am trying to sort. The tablesorter jquery plugin and it is properly loaded in my files. I have jquery called in front of it at well. I have this code in my javascript. $(document).ready(function() { $("#myTable").tablesorter({widgets: ['zebra']}); $("#business").tablesorter({sor...

Having Trouble with Absolute Positioning / Z-Index with Lists and Tables in IE 6 and 7

Hello! I'm creating a prototype of a CSS/XHTML tables-based calendar that eventually will be generated with PHP for the Simple Updates content management system. I've run into a problem with using absolute positioning to create a popup that would show all the events in a day when there are more than will fit in a cell. The problem can b...

empty lookup table vs non-matching lookup table (lookup transform)

is empty lookup table the same as non-matching lookup table in lookup transform? what would be the result if no row redirection is configured? 1) an empty result set or 2) package failure at the lookup transform ...

Does DataView.ToTable() keep a descending sort order?

Hi everyone! I have a problem with sorting a DataTable. I'm using DataView.Sort and then DataView.ToTable() to get the sorted table. Then I go through the table row by row and create nodes in a TreeView which is shown in a desktop application. My problem is that I can sort the data in ascending order and it is shown in the TreeView in...

jQuery add HTML table column

Hello, I have a HTML table like this: <table border="1"> <tbody> <tr> <td><a href="#" class="delete">DELETE ROW</a>COL 1</td> <td><a href="#" class="delete">DELETE COL</a>COL 2</td> <td><a href="#" class="delete">DELETE COL</a>COL 3</td> <td><a href="#" class="delete">DELETE CO...

Fastest way to copy a single large (30,000 rows) table from one database to another?

I've got a large table in a SQL Server 2005 database and I'd like to copy it over to another database. What's the fastest way to do this? Is there a shortcut to linking servers and doing inserts? ...

What XPath selects odd TRs from a table, starting with the third?

I have a table: <table> <tr><td>1</td></tr> <tr><td>2</td></tr> <tr><td>3</td></tr> <tr><td>4</td></tr> <tr><td>5</td></tr> <tr><td>6</td></tr> <tr><td>7</td></tr> <tr><td>8</td></tr> <tr><td>9</td></tr> </table> I need an XPath to select odd rows, starting on the third row (3, 5, 7, 9, etc.). ...

Table design for saving data based on user choices...

Suppose that we have a table for saving human-being data (Human Table) The human table has a column named "relatives" in order to save what type of relatives the human is supporting. The relatives column can have 2 values: 1: means that "close relative" 2: means that "far relative" Now, imagine that user can select one choice between cl...

For Objective-C ... Pointer to method

I want to setup a Method dispatch table and I am wondering if it is possible to create pointer to a method in Objective-C (like pointer to function in C). I tried to use some obj-c runtime functions to dynamically switch methods but the problem is it will affect all instances. As I am very new to obj-c, an illustrated example would be ...

Import Excel File into Oracle

I have an Excel file that I need to import into a (new) Oracle table. What is the best way to do this? ...

Can WinForms and XAML not benefit from the same logic as CSS?

Can WinForms and XAML not benefit from the same logic as CSS? It occured to me this morning, as i was browsing some of my unanswered questions on Stackoverflow: If you're not using FlowLayoutPanel or a TableLayoutPanel, to layout controls on your WinForm, you'll be accused of not doing it right. This is in contrast with the (religi...

Accessing the JavaScript Table DOM in a Java Servlet

I want to write reusable code that takes an HTML table from a JSP and converts it to Excel format to be exported to the user. I want to take advantage of the HTML DOM Table Object rather than parse the HTML in Java to extract the same information. The biggest advantage to this would be inspecting each cell for checkboxes, buttons, etc....

Merging databases how to handle duplicate PK's

We have 3 databases that are physically separated by region, one in LA, SF and NY. All the databases share the same schema but contain data specific to their region. We're looking to merge these databases into one and mirror it. We need to preserve the data for each region but merge them into one db. This presents quite a few issues for ...

Counting word occurrences in a table

Hi, I have a table with a varchar(255) field. I want to get (via a query, function, or SP) the number of occurences of each word in a group of rows from this table. If there are 2 rows with these fields: "I like to eat bananas" "I don't like to eat like a monkey" I want to get word | count() --------------- like 3 ...

paste excel data into html table

Using Javascript, how do I create an HTML table that can "accept" numeric matrix data from excel (or google spreadsheet), via "copy" in the spreadsheet and then "paste" into the table in the browser. Thanks. ...

UITableView Animation Headache

NSIndexPath* updatedPath = [NSIndexPath indexPathForRow: 0 inSection: 0]; NSIndexPath* updatedPath2 = [NSIndexPath indexPathForRow: 1 inSection: 0]; NSArray* updatedPaths = [NSArray arrayWithObjects:updatedPath, updatedPath2, nil]; [self.mySexyTableView reloadRowsAtIndexPaths:updatedPaths withRowAnimation:UITableViewRowAnimationTop]; ...

GWT: Getting events in a button in a panel used as a Table cell

I'm using GWT 1.6. I am creating a panel that contains a Button and a Label, which I then add to a FlexTable as one of its cells. The Button is not receiving any Click events. I see that the table supports determining which Cell is clicked on, but in this case, I want the Mouse events to propagate to the various widgets inside the cell...

Filter table from <select> input using jQuery

I'm trying to filter a table from an alphabetical <select> input with jQuery. I have first and last names in two columns of the table, and I'd like to filter the rows by either of these. I have a select input set up as so: <select> <option value="A">A</option> <option value="B">B</option> <option value="C">C</option> ....

Tables and charts using PDFSharp

Hello! I just started with a project that requires me to write to PDF file. After some googling I decided on using PDFSharp which looks simple enough, however I have a few questions regarding drawing tables and charts. Is PDFSharp a good choice for writing pdf files that contain tables and charts? If no, can you recommend a better alte...

Table doesn't respond to second jQuery request

Hi All My PHP script generates a table with rows which can optionally be edited or deleted. There is also a possibility to create a new Row. The PHP is activated through jQuery Events. Now all works well, I can edit delete and create an Item. After each action which makes use of the PHP script the HTML table gets updated. But when I ...