This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Grids,tables,reports in Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Grids,tables,reports in Javascript" Watch "Grids,tables,reports in Javascript" New topic
Author

Grids,tables,reports in Javascript

Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
Can i generate a formatted report with grids and all in using html.if yes how else if there are any report generator tools for web pls let me know.I want to create a reeport which can be directly printed from the browser.


Currently I have a applet running which uses Layouts and grids etc and builds the interface. I want to remove the applet and use some thing else...
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can use jsp or another server side langugae to allow you to generate the html.

Eric
Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
Okay.

the report has many columns and rows. I have to create this stuff in such a way so that the columns should be increased by stretching the column border.

meaning to say the way you do in the tables of word document. in word you can increase/decrese the width of column by stretching.
thanks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Look at this code:

http://www.devsoftware.com/dhtmlTest/tableIE.html

Eric
Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
that's scrollable grid.
I am talking about a grid in which you can manually resize the widht of the columns by stretching the borders of the columns.

You can use some layout managers in Applet ,but I want to do it without applet caz they are very costly.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can do that with the code there, you can grab the columns and make them bigger. You can switch the columns..

As the documentaiotn says

This page represent adjustable table.
The following functionality available:
1. Scrolling of the table body with always visible header.
2. Changing column width by using drag-and-drop. Just press the mouse button on a border and change the width.
3. Column swapping. Press the mouse on a column header, and drag it to a column to swap. You will see result once you release the button.


Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Grids,tables,reports in Javascript
 
Similar Threads
Avoiding the page to get refreshed
jQuery in Action: grids limitations?
Generating reports usin html
Grids
Any JCalendar package users??