473,402 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Remove columns in a dynamic table

Hi!!,

I have a table which i wanna print. what i wanted to do is, print the
header and footer in every new page i am printing. The table which i am
getting data is a dynamic table and with javascript i wanna remove 2
columns before i display it to the viewer .

Is there any possible way to accomplish this ?

Thanx

C#_Learner

Jun 28 '06 #1
3 2187
C#_learner wrote:
Hi!!,

I have a table which i wanna print. what i wanted to do is, print the
header and footer in every new page i am printing. The table which i am
getting data is a dynamic table and with javascript i wanna remove 2
columns before i display it to the viewer .

Is there any possible way to accomplish this ?
Yes. Please don't use silly words like "wanna" and I in lower case, it
makes you question hard to read.

Just set cell's className to a CSS class with the appropriate visibility
and display values, or set the values directly.
Thanx

That's "Thanks"

--
Ian Collins.
Jun 28 '06 #2
Thank you Ian for the reply. Please appologize me for the wrong usage
of english.

By the way I have done the first part I mean removing those 2 columns.
But still i have the problem how to print Header and Footer for each
page they printing .

Thank you once again.
C#_learner
Ian Collins wrote:
C#_learner wrote:
Hi!!,

I have a table which i wanna print. what i wanted to do is, print the
header and footer in every new page i am printing. The table which i am
getting data is a dynamic table and with javascript i wanna remove 2
columns before i display it to the viewer .

Is there any possible way to accomplish this ?

Yes. Please don't use silly words like "wanna" and I in lower case, it
makes you question hard to read.

Just set cell's className to a CSS class with the appropriate visibility
and display values, or set the values directly.
Thanx

That's "Thanks"

--
Ian Collins.


Jun 29 '06 #3
C#_learner wrote:

Please don't top post!
Ian Collins wrote:
C#_learner wrote:
Hi!!,

I have a table which i wanna print. what i wanted to do is, print the
header and footer in every new page i am printing. The table which i am
getting data is a dynamic table and with javascript i wanna remove 2
columns before i display it to the viewer .

Is there any possible way to accomplish this ?

Yes. Please don't use silly words like "wanna" and I in lower case, it
makes you question hard to read.

Just set cell's className to a CSS class with the appropriate visibility
and display values, or set the values directly.

Thank you Ian for the reply. Please appologize me for the wrong usage
of english.

Good to see the real thing this time :)
By the way I have done the first part I mean removing those 2 columns.
But still i have the problem how to print Header and Footer for each
page they printing .

This is probably outside the scope of JavaScript and more of a CSS
issue. You will probably have more luck on a web authoring group.

--
Ian Collins.
Jun 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Susan Mackay | last post by:
I have a data table that is connected to a database table with a data adapter in the 'standard' manner. However I want to be able to remove selected rows from the data table (i.e. no longer...
9
by: serge | last post by:
/* Subject: How to build a procedure that returns different numbers of columns as a result based on a parameter. You can copy/paste this whole post in SQL Query Analyzer or Management Studio...
2
by: mhuff | last post by:
Hello, I have a table called ticket that has tickets stored in it. I have a seperate table called line items with the line items in it that are tied back to the ticket via a foreignkey. ...
3
by: =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post by:
Hi all I think this question was discused quite often before. But maybe some "good-brain" has a great idea ... :-))) I have a DataSet with "unknown" columns. The CLR Function should work...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.