• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Grids,tables,reports in Javascript

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic