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 newcolumnname (adsbygoogle
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"); Scanner
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   
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
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
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... the column name of specified name. statement.executeUpdate("ALTER TABLE stu_info
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? (adsbygoogle
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
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
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
JavaScript add row dynamically to table  ... to add row to a table dynamically then we can also do this with the JavaScript code. In this example we will describe you how to add row dynamically to the table
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
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      
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   
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
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
iphone Table View
will use if statement so that when table is nil then it will move the view to the table... View. Then will set the number of rows and the component into the Table View, when... name so that the view will be loaded on the window when you run the program
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. (adsbygoogle = window.adsbygoogle || []).push
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
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
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
Simple Table View With Next View
the number of rows and the component into the Table View, when you click... ViewController so when the object is clicked will move to another View... view cell. The table View is made of rows and rows contain cells, will set up
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
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?
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
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
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
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
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...; Use the given query to change the table name. RENAME TABLE items TO item
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
Remove Unique Column in Database Table
in the database table. In this query we will give table and column name from which we... Remove Unique Column in Database Table   ... unique field of the particular column in a database table.  We know
Delete a Specific Row from a Database Table
database table.   '1': This is the value of specified column name... Delete a Specific Row from a Database Table   ... the facility for deleting specific row in a database table. Sometimes, you want
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
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
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
iPhone Simple Table View
. The table View is made of rows and rows contain cells, will set up the cell... is used to display the title of the table view, then will set the number of rows... into the Table View or Customize the Number of rows in the table view - (NSInteger
Mysql Alter Rename Table
rows affected (0.03 sec) Query to view table data...; Mysql Alter Rename Table is used to modify and change the name... fieldname and datatype. The Table employee create a Empid column as primary key. 
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
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
Table Maintenance Statements
({}); Column Value Table The Table Name Op...; Column Value Table The Table Name Op...] TABLE tbl_name [, tbl_name] ... OPTIMIZED TABLE statement is used when we have
table
table  multiplicatyion table

Ads