Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below

Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below

HI, I have a table in which the data is fetched from database. The table has 20 columns and the total number of rows depends upon the user. The table has a vertical and horizontal scroll bar. Problem: When the vertical scroll bar is used to scroll the table rows up to view more underlying data, then, the table's header (1st row which contains the column's name also move. This creates trouble for the users to fill the data in the respective columns as the column name is visible(as it has moved up along with the other rows.) I want only the records in the table to move up but not the column name.

Please provide a solution,

Code used for the table in the JSP page:

  <TABLE BORDER="0.5" CELLPADDING="4" ALIGN="Center"  WIDTH="1600px" style="table-layout:fixed;word-wrap:break-word;" >
                <Tr style="font-family: Calibri;" >

                    <TD BGCOLOR="#72A4D2" width="60px">column name</TD>
                    <TD BGCOLOR="#72A4D2" width="60px">column name</TD>
                    <TD BGCOLOR="#72A4D2" width="180px">column name</TD>
                    <TD BGCOLOR="#72A4D2" width="200px">column name</TD>
                </Tr>
After this is the code to fetch data from database.
View Answers









Related Tutorials/Questions & Answers:
Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below
Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below  HI, I have... the table rows up to view more underlying data, then, the table's header (1st row
Deleting row and column from a table
Deleting row and column from a table  In this program ,we delete row and column of a table. First we create connection to a database using... " keyword and also can delete column using "Alter" table commands
Advertisements
Shorting Table View By Column Name
;Address" then table view shorting by column name. If you want delete any row...Shorting Table View By Column Name This tutorial explains how to shorting table view by column name from the database in JSP and Servlet. This example
Altering a Column name in a table
Altering a Column name in a table  how to alter column name in MSSQL server 2005 the codesample given using "change" keyword alter table tablename change oldcolumnname to newcolumnnameADS_TO_REPLACE_1 is not working
print the multiplication table up to one
print the multiplication table up to one  My problem is that I have to change the code so that the user can tell the program which factor that should...; System.out.println("Enter an integer to print it's multiplication table
Delete and add row from Table View iPhone
Delete and add row from Table View iPhone In this tutorial will learn how to delete and also how to add row into the table view iPhone, with the help of edit... created is View Based Application so we have to declare the Table view
Change Column Name of a Table
for renaming a column name in a database table. As we know that each table keeps contents in rows and column format. While making a table we specify the name... Change Column Name of a Table   
add image in a row of table
add image in a row of table  i have a table in which i have to add image in its row.i am trying to add the image with the help of label i.e i have... jLabel.setIcon(new ImageIcon("E:/2.jpg"));.But when i pass this jlabel in the row it shows
add image in a row of table
add image in a row of table  i have a table in which i have to add image in its row.i am trying to add the image with the help of label i.e i have... jLabel.setIcon(new ImageIcon("E:/2.jpg"));.But when i pass this jlabel in the row it shows
Adding button to each row for the table and adding row to another table
Adding button to each row for the table and adding row to another table  Hi I need to add button to each line in the table(Table data is retrived... row of the table
How to change table row color when click on Hyper Link in jsp?
How to change table row color when click on Hyper Link in jsp?  I use 5 links: Link 1 Link 2 Link 3.. table: row1 row2 row3.. when click on the link1 automatically change
Delete row and column from table through java code
Delete row and column from table through java code... will see how to delete row and column from given table through java code. Java code... | +----+----------+------------+---------+ In this table we will delete the row having minimum value of ID then delete
delete row from a table in hibernate
delete row from a table in hibernate  is there method to delete row in a table using hibernate like save(-) to insert row
Hoe to refresh a table row dynamically
Hoe to refresh a table row dynamically  Want to refresh a table data... Friend, Is there a link attribute with every row of a table through which we will able to refresh a particular table row?ADS_TO_REPLACE_1 Please clarify
Insert specific fields into table dynamically for each row.
Insert specific fields into table dynamically for each row.  There is a table containing 20 fields and 2 of those are empty. The administrator... into the table. For this all the rows displayed and two rows with empty text boxes, he
Insert specific fields into table dynamically for each row.
Insert specific fields into table dynamically for each row.  There is a table containing 20 fields and 2 of those are empty. The administrator... into the table. For this all the rows displayed and two rows with empty text boxes, he
display table details when selecting table name in drop down liat
display table details when selecting table name in drop down liat  ... name from the dropdown, then the corresponding details of table name should... database to the dropdownlist in jsp. Example: 1st i want to display the list
Highlight a corresponding table row - Struts
the table being displayed with rows having links in them(paged display of the table due to huge data) 2.wen klik on the link it leads to Return.jsp 3.now wen...Highlight a corresponding table row  I have 2 jsps
JavaScript add row dynamically to table
to this table with the text in the column as "This is a new row added". ADS... JavaScript add row dynamically to table  ... to add row to a table dynamically then we can also do this with the JavaScript code
Table maximum Row count - JDBC
Table maximum Row count  Dear friends I want to select maximum time entry Status from db. for example : Status : 3 4 6 8 3 5 7 5... entry in column Status Can anybody suggest me any good query for selecting
Deleting a Row from SQL Table Using EJB
to delete a row from the SQL Table. Find out the steps given below that describes how to delete a particular row from the database table using EJB. The steps... Deleting a Row from SQL Table Using EJB   
JavaScript add row to table
have added the 'td' data to the row element 'tr'. When you load the page, you will get the table containing the columns Name and Address and a button 'Add row... JavaScript add row to table      
Query to insert values in the empty fields in the last row of a table in Mysql database?
Query to insert values in the empty fields in the last row of a table in Mysql... row of my MYSQL database. Now I want to fill up those empty fields in the last row. So what will be the query
JavaScript Hide Table Column
JavaScript Hide Table Column...; In this section, we are going to hide a table column using JavaScript... grabs the table reference and then retrieve all the rows by using
What?s the maximum size of a row in SQL table?
What?s the maximum size of a row in SQL table?  What?s the maximum size of a row in SQL table?   Hi, The maximum Row Size is 8060 Bytes in a sql table.ADS_TO_REPLACE_1 Thanks
How to Extract row from table view using JSP Code - Java Beginners
How to Extract row from table view using JSP Code  Hi Friends... problem exist with retrival of row from a table on click of link. Table Structure is given bellow: User_ID First_Name Middle_Name Last_name Role Region Status
Table's row elimination based on option choosen
Table's row elimination based on option choosen  I have a drop down with yes and no option.if i select yes in a table 2 new rows are shown and if i select no another question in row appears but the space occupied by the question
delete row from a table using hibernate
delete row from a table using hibernate  //code in java file String hql="delete from CONTACT c where ID=6"; Query query=session.createQuery(hql); //error when executing above code CONTACT is not mapped
iphone Table View
if statement so that when table is nil then it will move the view to the table view... View. Then will set the number of rows and the component into the Table View, when... in DidFinishLaunching method with the nib file name so that the view will be loaded on the window
Adding checkbox in table using that delete table rows
Adding checkbox in table using that delete table rows  I need coding for how to add checkbox in table,the table data from database.Using that checkbox select more than than one rows,and using delete button i want to delete
JDBC Delete Row In Table Example
JDBC Delete Row In Table Example : In this tutorial we will learn how delete specific row from the table use mysql JDBC driver.This tutorial defined how one or more specific  row delete from table that follow any given condition
table?
table?  Hi, how could i make a table in javascript, which would look like this: AA CODON Number /1000 Fraction .. (this row represents the column identifiers, followed by four rows of inputs) Ala GCG 1.00
Adding a flex table in another flex table column
Adding a flex table in another flex table column  how to add a flex table in another flex table column
Table view with multiple view and sections
another view to the cell(Rows of Table View)  and will have two section in Table View and will have Back button on next view so that we can come back... } Add this to .m file: In this customizing the number of rows in the table view
Simple Table View With Next View
the number of rows and the component into the Table View, when you click... to show another view when you select an object on the Table View is shown below... the object into the Table View. After that will set the title name
JavaScript Hide Table Rows
JavaScript Hide Table Rows...; In this section, you will learn how to hide table rows using JavaScript... object grabs the id of the table. Then we have determined the length of rows
Remove Unique Column in Database Table
that it will take a table name and column name from which we want to remove...! Enter table name: Student Enter column name which has unique... the unique column from Database Table: Student Table Stu_id Stu_name
Adding a New Column Name in Database Table
Adding a New Column Name in Database Table  ... that we have created a table and forgets to add some important column name... that the table doesn't contains that particular column we are searching for. So
get data in pop up window droplists and on selecting data in the same show a grid table with related datas
(let it be state table). After selecting both country and state when I click... in the table the corresponding hotel name should be added in the parent window...get data in pop up window droplists and on selecting data in the same show
Delete a Specific Row from a Database Table
the column name of a specific database table.   '1': This is the value... Delete a Specific Row from a Database Table   ... the facility for deleting specific row in a database table. Sometimes, you want
Impact on change of table name
Impact on change of table name  What is the impact when we change the table name. If there are dependencies or anything else related to the table... Alwala   Use the given query to change the table name. RENAME TABLE
How to add dropdown list in a row of a sort table applet?
How to add dropdown list in a row of a sort table applet?  How to add dropdown list in a row of a sort table applet
show folder on server by clicking a row in table using jsp and ajax
show folder on server by clicking a row in table using jsp and ajax  Hi, i want a jsp page which has one dropdown and one textfield. when i click... display the table. Now if i click on a row it should open a folder in server
show folder on server by clicking a row in table using jsp and ajax
show folder on server by clicking a row in table using jsp and ajax  Hi, i want a jsp page which has one dropdown and one textfield. when i click... display the table. Now if i click on a row it should open a folder in server
Mysql Alter View
; View is a virtual table, act like a table but  actually it does.... A view include  rows and columns from one or more than one tables. A View... column. View ensures security mechanism to the table. Alter View is used to modify
mysql alter table add column
mysql alter table add column  Hi, What is the syntax of mysql alter table add column? Thanks   Hi, Here is mysql alter table add column example: ALTER TABLE employee ADD address VARCHAR(50); Read more at MySQL Add
How to copy existing column along with data and column name into another existing table
and column name also into another existing table... For ex; TableA : Address email...How to copy existing column along with data and column name into another... way to copy both column name and data
How to search the selected item in row table using radia button in JSP?
How to search the selected item in row table using radia button in JSP?  How to search the selected item in row table using radia button in JSP
Iphone Table View Application
Iphone Table View Application  Hi, How to use Table View Application in Iphone? What parameters i have to follow to develop the Table view Apps with iphone? Please guide me or suggest any online example for reference. Thanks
SQL Alter Table Name
SQL Alter Table Name       SQL Alter Table Name is used to change or modify  name of the existing table. To understand how to change the name of created table in SQL

Ads