Data OutPut Format

J

Just Me

Hi,

I have a fairly simple requirement but one which seems to be giving me
trouble.

Scenario
---------

I have data in a table which I need to display. The data is groups into
Course Name, and I want to display this in the following format.

Course Title

DataColumn1 DataColumn2 Datacolumn3 etc etc etc
<Seperator Row >
Course Title

DataColumn1 DataColumn2 Datacolumn3 etc etc etc

I need to output the data from the table and also I need to exhibit the
behaviour that when the cursor is over the DataColumn output OR the Row
itself that this lights up ( Changes Background Color ).

Thats All I Want. Now . . . . .

AFAIK, there were the following options as far as I could tell. But there
are problems.

1.) Crystal Reports
Impossible to set highlight behaviour because the sections are not rendered
as parents of the detail. Dont bother even trying here, Ive beaten this one
to death. !!!!

2.) Programatically write out the tables html tags and data
Have not done this yet, as I didnt want to have to re-invent the wheel if
possible, though I know I can do it if I must.

3.) Use an existing control like a Gridview
Yes I can output the detail, but how can I display it in the format I have
shown you above, the categories, im not sure how I can get those to display
in a single data cell which spans the whole table.

There are I am sure other ways to do this, what Im looking for is
inspiration, I suspect someone will say, this is easy, all you have to do is
.. . . . .


Thanks in advance ! "OnlyMe"
 
J

Just Me

Actually, Just when I thought it was safe to go back in the water . . .

In the header which is where I need to put the category ( Programatically ),
I cant include a contain.dataitem("Category") reference, as this only works
in the item template.

HA !!!

Now what ???

lol



Just Me said:
Damn, I knew someone was gonna do this to me. ;-)

Cheers
 
J

Just Me

Actully

I have found that I can manipulate the header during item databound, but as
I need the header to appear more than once if there are multiple categories,
then this is not going to work unfortunately.


Next ????



Just Me said:
Actually, Just when I thought it was safe to go back in the water . . .

In the header which is where I need to put the category (
Programatically ), I cant include a contain.dataitem("Category")
reference, as this only works in the item template.

HA !!!

Now what ???

lol
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top