Re: For sorting columns on user side with records

2004-10-20 Thread Zoran Avtarovski
Have a look at the displaytag taglib - displaytag.sourceforge.net. It provides sorting + a whole lot more. And it's struts friendly to boot. Z. >   > hi , > suppose i am using struts based app while showing data in various columns and > i wish to give user the choice to sort the column based on

Re: For sorting columns on user side with records

2004-10-20 Thread Frank W. Zammetti
I really liked the link Jeff (I think that's who it was) provided earlier. In fact, I'm seriously considering replacing my own code as I posted here with that solution in some of my systems at work. But, my code will do the trick, so if nothing else at least there's that to fall back on. Inc

Re: For sorting columns on user side with records

2004-10-20 Thread Eddie Bush
Hi Nitin, Struts is server-side - predominately a controller, although it does include some things to facilitate building the view. What you're asking for is something that would sit client-side and provide DHTML manipulation of a HTML table - right? That I'm aware of, there is no such animal.

Re: For sorting columns on user side with records

2004-10-20 Thread Jeff Beal
There are quite a few third-party widgets for doing this. Just do a Google search for "html table widget" or "javascript table widget" and look for one that works. In particular, the Jaffa project (jaffa.sourceforge.net) has a pretty slick looking table widget that is designed to work well wi

Re: For sorting columns on user side with records

2004-10-20 Thread Matt Bathje
Here is another solution that is more generic (you don't have to hard code data into arrays) and I know works in at least IE6 and FireFox/Mozilla. Not my work, I just like it a lot :) http://www.kryogenix.org/code/browser/sorttable/ Matt [EMAIL PROTECTED] wrote: Nothing exists in the taglibs or

Re: For sorting columns on user side with records

2004-10-20 Thread fzlists
Nothing exists in the taglibs or Struts itself to do this as far as I know, so you'll have to roll your own. I have done this in a number of applications, so I'll save you some time... I do not know how cross-browser this is, most of my work is IE-only (not using much IE-only functionality, but