473,652 Members | 3,049 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2209
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
6601
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 include them in the set that is displayed to the user) but I don't want to delete the corresponding row from the database. I've tried using the .Rows.Remove() method but an exception is thrown to say I don't have a 'delete' command in the data...
9
2689
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 and run it once you've made sure there is no harmful code. Currently we have several stored procedures which final result is a select with several joins that returns many
2
2690
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. Not all line items need to have the same columns as some products vary greatly in data attributes. How do I set up my tables to allow for Dynamic Columns based on the line item type. I have tried creating another table that holds attribute names and...
3
4260
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 like the normal TVF: ALTER FUNCTION . () RETURNS TABLE
0
8367
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8279
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8811
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7302
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4145
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2703
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.