table

Ruby on Rails HTML-Table Generator

I am looking for a good RoR table generator (or an easy solution) that can give me a decent view of my records in a table (unstylized but proper strict XHTML). Let's say I have a User model and an Address model: - A User can have many Addresses - One address is also linked as the "primary_address" Let's say I have the following in my...

SQL Database design help needed

I am trying to limit the about of tables in my database because I hear that's good (I am a novice web developer). I want to have the user input a list into the database. So they input a title, overall comment, and then start making the list. I can't figure out how to do this without making a new table for each list. Because, say one user...

jquery access to a user specific collection via table index?!

i have a table <table> <tr> <td class="myA">Data...1a</td> <td class="myA">Data...2a</td> <td class="myA">Data...3a</td> </tr> <tr> <td class="myB">Data...1b</td> <td class="myB">Data...2b</td> <td class="myB">Data...3b</td> </tr> <tr> <td class="myC">Data...1c</td> <td class="myC">Data...2c</td> <td class="my...

Values from multiple tables on a row

Hello, I have the following 3 tables Table1 ID | NAME ----------- 1 | X 2 | Y 3 | Z Table2 ID | NAME ----------- 1 | A 2 | B 3 | C Table3 ID | P (Boolean field) | Other cols 1 | True ... 2 | True.... 1 | False now I need a query on table3 that has to do the following. to display the name field of table1 and table2....

How can I hide an HTML table row <tr> so that it takes up no space?

How can I hide an HTML table row <tr> so that it takes up no space? I have several <tr>'s set to style="display:none;", but they still affect the size of the table and the table's border reflects the hidden rows. ...

How do I Write a SQL Query With a Condition Involving a Second Table?

Table1 ... LogEntryID *PrimaryKey* Value ThresholdID - - - Link to the appropriate threshold being applied to this log entry. ... Table2 ... ThresholdID *PrimaryKey* Threshold ... All fields are integers. The "..." thingies are there to show that these tables hold a lot more imformation than just this. They are set up this way for ...

jQuery pagination plugin work with tables?

Hey, I am wondering if this plugin works with tables and if I will be able to display a certain amount of rows per page, like 7 rows on each page? Also, will it work with the latest version of jQuery? Thanks for any help. ...

hide specific rows using DataTables plugin?

Hey, I have a web page with a table that displays data from a database. There is a main being displayed and an additional that is hidden and only displays with jquery when the user clicks a button that is on the first main . The problem that I am getting is when I use the datatables plugin, it finds all the rows and counts them, so I...

Intelligent ways to maintain versioned copies of tables in a relational database (programming considerations?)

Greetings, Just a bit of backgroung information - I am currently working on a relatively large desktop-based requirements management utility, and have come across an issue for which I believe I know the solution, but am hesitant to implement without further thought. Basically, at anytime during the usage of this requirements management...

How do create table with dynamic no. of columns for data entry

Hi I'm currently working on a project where I need to save data depending upon the active no. of items. Its like.. Stores can have n no of items which can be dynamically added or reduced from admin back-end. Each item can either be activated or deactivated. NO problem. But I need to manage/save these dynamic n no. of items in a table...

Create a matrix/table from a LEFT JOIN in SQL

I'd like to know a good solution for converting a LEFT JOIN into a table/matrix. For example, given this schema: objects id (integer) name (string) attributes id (integer) object_id (integer) name (string) value (string) And these values: 1,ball 2,box 1,1,colour,red 2,1,shape,sphere 3,1,material,rubber 4,2,colo...

Keep table headers on screen as user scrolls

I have an HTML page that contains a table. The table headers get eventually scrolled off the top of the screen, but I would like the headers to stay visible at the top. I want to use a method like alaskaair.com's "Fares Selected" widget. Their little Fares widget stays visible as you scroll the page: Screenshot of alaskaair.com widget....

css set maximum table row height despite content

I'm trying to create a table with each cell having a fixed width but absolute but varying heights. For example in the first column the first row would be 20px, the second 65px, the third 20px. In the second column the first row would be 20px, the second 45px, the third 40px. And in the last column, the first row would be 20px and the sec...

Incorporating XSLT generated table into a webpage

I am currently updating a webpage that has some very simple data displayed in a 2xnumberOfEntries table. The original is hard-coded into html, which, as a programmer, I find to be annoying. I decided that converting the data to a simple XML schema would be the best idea since I really have no need for the added features of a database. ...

Splitting table cells in wordML programatically

how to Splitting table cells in wordML programatically ...

skip css formatting on one html table

I have CSS items for all my table elements (<table>, <tr>, etc...) but I have one table for which I don't want the CSS to apply. What is the quickest way to have this table just display as a raw HTML table and not apply my CSS formatting. Also, in my CSS file, I have this: table td { padding: 5px; border: solid 1px #e8ee...

MS Access 03 - Normalizing Data from an excel spreadsheet

Hey guys I have a question about a method to break something apart. I get this excel spreadsheet that provides me with data that I need to do one report. Its pretty simple and straight forward, however there is one particular part of it that is giving me some grief. In the excel spreadsheet there is a column that lists "parties envolved...

insert text after dynamicly created table in word using VSTO

How using VSTO and Word 2003 can I insert text after a table I've created? I have code like bookmarkDescriptions = (object)"bookmarkDescriptions"; Word.Range rangeDescriptions = aDoc.Bookmarks.get_Item(ref bookmarkDescriptions).Range; foreach (var item in items) { //Add a paragraph with some text Table descTable = aDoc.Tables.A...

Hand-code HTML for email? Or are there any reasonable tools or converters?

HTML Email is a whole different ballgame from Websites, which have moved away from tables and toward CSS. I'm looking for recommendations for HTML mail tools, hopefully from someone who has actually used them (I can manage a Google search). Anything that does a good job of converting from CSS standards to HTML mail? Anything that can ...

Problem with table content leaking outside it's container: how to manipulate table layouts

I'm having a problem keeping the contents of this table within it's container: See here. The table is being automatically generated by something called CataLook store which is a DNN module. I really wish they would make modules up to standards-- ie. <div> instead of <table> but this is what I'm stuck with... I've tried Firebugging it ...