• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Grids,tables,reports in Javascript

 
Anand Gondhiya
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use jsp or another server side langugae to allow you to generate the html.

Eric
 
Anand Gondhiya
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at this code:

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

Eric
 
Anand Gondhiya
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic