rows

UITableView rows load asynchronously

On launch of app, i want to show 10 rows, at the bottom "Load 15 more", on click on "Load 15 more" the next 15 rows should add to the bottom of the table and again show "Load 15 more", until no rows found. note: I am using php to load table data as an xml feed. If anyone has any tutorial/sample code pl send me the link ...

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 ...

GWT Table with collapsible rows

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

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...

In JQGrid I want to add a row button that doesnt post back.

The buttons I have added to the rows still post back even if I specifiy not to do so in the onclick method of the button (onclick=' return false;'). I supose its the grid doing the post back? I am tring to prevent the postback and show my own custom popup forms. gridComplete: function(){ var ids = $('#jqGridControl1').jqGrid('getDataI...

Issue in parsing the GridViewRows in a Telerik RadGridView

Hi, I would like to do something similar what we do in ASP.NET where we parse through all the rows in a GridView and assign a particular value to a particular cell in a row which has a matching TaskId as the current Id. This has to happen in a Tick function of a Dispatcher Timer object. Since I have a Start Timer button Column for ever...

PHP and MySQL - Printing rows matching a column value

Hello, I need to write a PHP script that will print out results from a MySQL database. For example, say I have 9 fields. Field 1 is an auto increasing number, field two is a three digit number. I need to be able to have a script read, find the matching number (it'll be from a POST), and then display all matching three digit results, a...

Hiding rows in a WPF datagrid - resizing issue

I have an issue with hiding rows in a DataGrid. I do this by creating a new DataGridRow template which has a DataTrigger bound to a property on the objects in ItemsSource. The trigger sets the Visibility of the border of the row to Collapsed if the IsVisible property on the model object is false and vice-versa. If I set one row's IsVi...

select only rows if its value in a particular column is less than its value in the other column

Hi folks, I am using R and need to select rows with aged (age of death) less than or equal to laclen (lactation length). I am trying to create a new data frame to only include rows/ids whereby the value of column'aged' is less than its corresponding 'laclength' value. df: id1 id2 laclen aged 9830 64526 26 6 7609 64...

select rows with unidentical column values using R

Hi Guys, I need to create a new data frame that excludes dams that appear in "dam1" and "dam2" columns on the same fosdate (fostering date). I tried df <- df[df$dam1!=df$dam2,] but did not work. Dam1 and dam2 are factors which are the id's of mothers. my df: fosdate dam1 dam2 8/09/2009 2Z523 2Z523 30/10/2009 1W509 ...

Flex datagrid multiple rows single file

Hi, I have a flex datagrid with 3 columns. The first column contains the image name(unique key). The other two columns have username and size details. I want to split the username into lastname, firstname, address and some other stuff. Can we have multiple rows in the grid for one image? Tried multi-line, it works but we need to keep add...

MATLAB - Index exceeds matrix dimensions

Hi I have problem with matrix.. I have many .txt files with different number of rows but have the same number of column (1 column) e.g. s1.txt = 1234 rows s2.txt = 1200 rows s2.txt = 1100 rows I wanted to combine the three files. Since its have different rows .. when I write it to a new file I got this error = Index exceed...

Limit Selectable Rows for MultiSelect in cxGrid (Developer Express)

Does nybody know how to limit the number of rows the user can select in a cxGrid where MultiSelect is active? The Grid is working in GridMode = True - because the amount of data is really big (200.000 rows). - Now if you press CTRL+A all rows are loaded because the grid wants to select them all. Any tipps? Thank you ...

Consolidating Columns in Excel

I have two columns in excel like the following a,apple a,bannana a,orange a,plum b,apple b,berry b,orange b,grapefruit c,melon c,berry c,kiwi I need to consolidate them like this on a different sheet a,apple,bannana,orange,plum b,apple,berry,orange,grapefruit c,melon,berry,kiwi Any help would be appreciated This code works...

the query is breaking. How to skip rows PHP

Hello all. I have a question probably lame but it made me stuck I have the a db query $query_Recordset10 = "SELECT * FROM products WHERE razdel='mix' AND ID='$ID+1' AND litraj='$litri' ORDER BY ID ASC"; $Recordset10 = mysql_query($query_Recordset10, $victor) or die(mysql_error()); $row_Recordset10 = mysql_fetch_array($Recordset10...

Getting the count of rows in a Java resultset

Hello Does anyone know a better way of getting the number of rows in a Java resultset returned from a MySQL database? I'm currently using this: public static int getResultSetRowCount(ResultSet resultSet) { int size = 0; try { resultSet.last(); size = resultSet.getRow(); resultSet.beforeFirst(); } ...

Connect to a MySQL database and count the number of rows.

Hi there! I need to connect to a MySQL database and then show the number of rows. This is what I've got so far; <?php include "connect.php"; db_connect(); $result = mysql_query("SELECT * FROM hacker"); $num_rows = mysql_num_rows($result); echo $num_rows; ?> When I use that code I end up with this error; Warning: mysq...

jQuery $.live() doesn't work with table rows on the iPhone

Hello. I'm making table rows click-able with jQuery's $.live() function. Works perfectly on Chrome, Firefox and even desktop Windows Safari -- but not on the iPhone. $.bind() works everywhere, but for obvious reasons I'd like to use the other function. Does anyone have any idea why it doesn't work and how can I fix it? Example code belo...

SQL select a sample of rows

I need to select sample rows from a set. For example if my select query returns x rows then if x is greater than 50 , I want only 50 rows returned but not just the top 50 but 50 that are evenly spread out over the resultset. The table in this case records routes - GPS locations + DateTime. I am ordering on DateTime and need a reasonable ...

How do you merge rows from 2 SQL tables without duplicating rows?

Hi, I guess this query is a little basic and I should know more about SQL but haven't done much with joins yet which I guess is the solution here. What I have is a table of people and a table of job roles they hold. A person can have multiple jobs and I wish to have one set of results with a row per person containing their details and...