table

How to change column width of a table

For the following code, I am not able to set the column size to a custom size. Why is it so?Also the first column is not being displayed. import java.awt.BorderLayout; import java.awt.GridLayout; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTable; import javax.swing.table.TableColumn; public class Trial...

Custom Drupal Module help

Hello, just started creating my own module. below is my code for the admin.inc file. in the administrative settings im looking to be able to enter numbers into a series of textfields. ideally this data is represented into a table format, however ive found this process to be very long winded and although it does as i want, i still feel i...

Kohana 2.3.4 ORM pivot table query

I'm trying to query a pivot table with Kohana's ORM and I'm wondering if there is a built in function I'm missing. Currently I only have 2 models setup for the tables "categories" and "products". There is a pivot table "categories_products", but I don't need a model for it when inserting data with this: $product = ORM::factory('product'...

latex list environment inside the tabular environment: extra line at top preventing alignment

Hello good people of stackoverflow. I have a LaTeX question that is bugging me. I have been trying to get a list environment to appear correctly inside the tabular environment. So far I have gotten everything to my liking except one thing: the top of the list does not align with other entries in the table, in fact it looks like it adds o...

Upload image thumbnail dynamically in background thread iphone

Hi All, I want to upload thumbnail in my table view dynamically. I am not getting the images in a proper way as App Store's App Table does. How to do that? Thanks in advance ...

How to JOIN a COUNT from a table, and then effect that COUNT with another JOIN

Hi I have three tables Post ID Name 1 'Something' 2 'Something else' 3 'One more' Comment ID PostId ProfileID Comment 1 1 1 'Hi my name is' 2 2 2 'I like cakes' 3 3 3 'I hate cakes' Profile ID Approved 1 1 2 0 3 1 I want to count...

how to convert the gridview datas to the table in asp.net

i have a gridview as follows: Sub marks result eng 56 p maths 45 f science 67 p S.S 78 p im using the mail function to send the marks to the student. how to convert these gridview rows to the table rows or how to pass the gridview datas into mail function as 'message' ...

jquery ui themes and html tables

is there anyway to theme an html table (css) with using the jquery css themes ? all of my components look like they belong together except for my html table which look different. ...

How to find rows between other rows w/ID then add class

Hi guys. i'm stuck with my table. need create toggle rows function. but i no idea how to find sub rows in table. Some one can help me? I have table with many rows > 500 All Rows have class="row-1,row-2.....row-600 etc" And all main rows also have class="parent" between each "parent" rows i have 6 rows So i need for toggle/collapse ...

Actual table Vs. Div table

This <table> <tr> <td>Hello</td> <td>World</td> </tr> </table> Can be done with this: <div> <div style="display: table-row;"> <div style="display: table-cell;">Hello</div> <div style="display: table-cell;">World</div> </div> </div> Now, is there any difference between these two in ter...

How to use Joomla to allow users to create/update data on my site?

Right now Im using an extension called chronoforms but Im open to anything that works. I can make forms just fine, and it saves the submitted data to a table. Where I am stuck is, how do I then allow my front end users who filled out and submitted the form to go back, view their old answers, change them, and resubmit them or resave them....

CSS Multiple multi-column divs

I have a bunch of items (text, image, mixed content, etc) that I want to display. The user can define what row and what column that item appears in. For example, in row 1, there could be two items/columns, both images. In row two, there could be three items / columns, one with an image, two others as pure text. Oh, and the user may speci...

GWT Table with collapsible rows

Anyone know an open source component for a GWT Table with collapsible rows? Thanks in advance. ...

Using variables for colors in table cells

Using the variables extension, I want to change the background color of a cell in a table. So far I've done this: {{#vardefine:green|<span style="background:Green; color:White">text</span>}} The problem is that, when I add {{#var:green}} to the cell, only the text itself has a green background. Ideally, I want the whole cell to have a...

XHTML Column Padding Bug

Try setting the padding of <td> to more than 1px, you can't. You can only specify 0 or 1px padding for this td. But why ? It's same in both transitional and strict document types. http://www.pro-turk.net/xhtml_col.html ...

what is best flexibility and why? Using db views, db tables, stored proc. and objects in tables...

Hi! I want to know what is best practice for using db views, db tables, stored proc. and objects in tables... Which of these is more flexible and why, can You explain? Best regards! ...

How do I combine two rows of same part, but add quantities?

I have table "PICKITEM" PARTID QTY A 1 A 3 B 11 C 8 D 5 D 3 I need a select statement that will return one line for like PARTIDs and add the qty field to together, yet also return the rest of the lines in the table as is PARTID QTY A 4 B 11 C ...

How do you update table row background color in IE using Javascript/CSS ?

I have a table that i want to "highlight" during onmouseover/onmouseout. I already know this is required in IE but not in other browsers. I have managed to detect the events triggering and this TR tag effectively works. (Note that the originating class "contentTableRow" doesn't seem to be causing any issues.) class="contentTableRow" on...

How to search a 'near word' in MySQL?

For example, i want to search a word 'marple', this should return row with near or exact word like 'marble','maple','marple', etc... How to do it in mysql query? or better give word suggestion if any? Thanks, ...

SQL 2008: Using separate tables for each datatype to return single row

Hi all I thought I'd be flexible this time around and let the users decide what contact information the wish to store in their database. In theory it would look as a single row containing, for instance; name, adress, zipcode, Category X, Listitems A. Example FieldType table defining the datatypes available to a user: FieldTypeID, Fiel...