This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Reorder Table Columns
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Reorder Table Columns
- From: Robert Koberg <rob at koberg dot com>
- Date: Wed, 28 Feb 2001 16:29:03 -0800
- References: <000001c0a1de$387ef570$b750a8c0@ELOY1499>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Sure you can. You can do it in a couple of ways. First and most simply you
can write out the different sort "views" into DIVs. Then when you drag and
drop on a target area "show" the appropriate DIV and hide all others.
The second way I would not do since you have XSLT to do most of the work:
you would need to write out the javascript objects or arrays that would hold
your data.
When you drag and drop onto a target you call a function to sort the JS data
and write to a DIV and show it (hide others).
Of course this assume you know how to write DHTML and JavaScript. If you
are coming in new to DHTML and JS I suggest going to
http://developer.netscape.com for some examples of cross browser D&D code.
----- Original Message -----
From: "Walter Torres" <walter@torres.ws>
To: <xsl-list@lists.mulberrytech.com>
Sent: Wednesday, February 28, 2001 3:28 PM
Subject: RE: [xsl] Reorder Table Columns
> > -----Original Message-----
> > From: owner-xsl-list@lists.mulberrytech.com
> > [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Sheeba Prem
> > Sent: Thursday, January 25, 2001 8:59 AM
> > To: xsl-list@lists.mulberrytech.com
> > Subject: [xsl] Reorder Table Columns
> >
> >
> > Can we reorder the columns of a table by drag and drop method .
> > Please let me know if that is possible and if so how to do it.
>
> As far as I know, this would be done via dHTML.
>
> I have a method (still in the works) of defining column via secondard XML
> data.
>
> After that,I have to solve the drag-n-drop issue.
>
> If I come across a solution, I'll let you know, if you find one, please
let
> me know.
>
> Walter
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list