hey guys,
i have a rather (for me) complicated task with jquery.
i want to scan an entire table for its th elements. if a th element has a ATERISK (*) in it, i want to hightlight the the parent, which is the tr element.
i know it sounds complicated when i explain it :)
so imagine i have a dynamic html table where i want to enable a f...
Suppose I have the following table house:
House:
id
name
cityID
Where cityID refers to the id field of table city
City:
id
name
stateID
where stateID refers to the id field of table state
State:
id
name
countryID
where countryID refers to the id field of the table country:
Country:
id
name
How do I do mysql join statements s...
I have cells that have borders of width 1px and width 2px, and the rest have no borders. The bordered cells subtly adjust the spacing of surrounding cells. I don't want this. How do I prevent it, while still enabling different sizes of borders for different cells?
...
I am using google-tables with a dataview, and I cannot figure out how to get any kind of formatting on one of my columns.
var datatable = createGoogleData(...);
datatable.setColumnProperty(2, 'className', 'hest1'); // <--- doesnt work
var view = new google.visualization.DataView(datatable);
...
view.setColumns([0, 1, { calc: b...
I have a stored procedure in SQL which I can't change. It needs few input parameters and returns a table with 100+ rows and several columns.
exec dbo.Select_Data 0, 0, 18, 50
I need something to get count of returned rows:
select count(*) from (exec dbo.Select_Data 0, 0, 18, 50)
and a way to get values from e.g. Name column:...
How do I use ALTER TABLE to add a new column and make it unique?
...
I migrate application from Swing to SWT and cannot find out how to make table headers in SWT multiline and also TabItems to have multiline text. In Swing it was not problem but in SWT no way. For table header i found that on linux it is working but i need it for windows. I tried \n and <br> but nothing.
...
I have a javascript function that works in IE7, but is giving me trouble in Firefox.
JAVASCRIPT
function vehicleSelected() {
var ddlSelect = document.getElementById('ddlSelect');
var displayTable = document.getElementsByName('listTable')[0];
var strAuto = ddlSelect.options[ddlSelect.selectedIndex].value;
alert("ok, so far...
I am creating block lists to block user actions based on IP address, MAC address, Email address, Name (first/last name), Trademark names and Usernames. So should each of these be a separate lookup table or can there be 1 blocked_list table with all these in? Each is individual independent of the other.
The list will be used in few pl...
Presently I use
<table cellpadding="0" cellspacing="0">
<tr><td><a href="cv.pdf" target="_blank">
<img src="graphics/pdf.gif" width="24" height="24" /></a></td>
<td width="10px"></td> <!--that just spaces the image from the text-->
<td>
<a href="cv.pdf" target="_blank"><em>Download CV.</em></a>
</td></tr>
</...
How to retrieve thumbnail url from Azure table using LINQ query?
...
I'm new to android development and just testing some things out.
I have a button in a tablelayout. I want the button to wrap_content. But if I tell said button to stay in a certain layout_column it doesn't wrap_content. Is there a way to have these both active? Or do I have to align the button using pixels? Heres my code:
<TableRow...
Hello everyone,
I've yet another question. I'm working with GWT 2.0.4 and IE8 as well as FireFox (the latter only for comparison purpose). My application needs to load data and show it inside a table. There are about 60 columns and 150 rows to show.
Since the loading is dynamic - as soon as a dataset has been fetched, it's added to the...
Hi,
I plan to delete data from a table, i would like to know how many and which tables have a foreign key reference to this particular table in Oracle. As i will have to set the foreign keys to null. I would like to know list of all tables which have a FK to this particular table.
...
Hi
I have this code, what am I doing wrong?
I have a function which I call playing a number of strings into an array. Then at some point I want to reload it after the user has edited the strings. This is the function:
NSMutableArray *lessonsFunc(id a, id b, id c, id d, id e, id f){
monData *mon = [monData sharedData];
return [...
I want to output a PDF using UIKit's PDF creation methods. I see plenty of information on the web about creating a graphic context in a PDF, but I want to create smart text tables whose cells the user can later copy and paste into other applications (Word, Excel, etc.). How do I do this?
Thanks.
...
http://i.imgur.com/PqmVu.jpg
A container that contains a box centered horizontally and it also contain a line centered vertically beside the left or the right side of the box. The width of the container may change dinamically so the line should also change its width (automatically). I hope the image explains that well.
...
There are at least 2 ways to show and reload information in table:
-to rebuild table each time when new data arrives;
-to update table's cells if they changes, adding or deleting rows one by one if needed.
I've used the first approach, but now I want to add some JQuery UI effects, but I don't think that adding a "slider" or "selectable" ...
Hi,
How to use QTableView in Nokia QT SDK(for mobiles). I referred some of documents but still I am not clearing about the QTableView. Please any one suggest the how to use the QTableView.
I want to show the QTableView with three columns.
Thanks is advance.
...
I am using SHOW TABLES to retrieve a list of tables in the DB.
The DB has 19 tables
$db = mysql_connect($dbhost, $dbuser, $dbpassword);
if (!$db)
{
die('Could not connect: ' . mysql_error());
}
$dbselect = mysql_select_db($dbase,$db);
if(!$dbselect) {
die('Could not connect: ' . mysql_error());
}
$c_query=mysql_query("SHOW TABLE...