JQuery as I see has a totally different programming syntax and is a lot different from Java Script.
Originally posted by Rama Krishna:
Successful. Although tedious, I was able to somehow have the hidden iframe ping the server continuously and get every couple of thousand records (request/response type) and append this data to the parent table tbody innerHTMl, until I get all the records. The only problem here is the page heaviness (say more than 50,000 records) as you said so. We need to display the complete data for a couple of important reasons (comment if these are wrong requirements or if there are work arounds); be able to use our own javascript based filtering on complete data and use display tag API based grouping, sorting, more importantly use available display tag API to export COMPLETE data into various cvs, xls, rtf and pdf formats with custom header and footers! Our display tag API, the current display table allows grouping, sub-totaling, pagination (not dynamic), except that it does not allow searching the whole content just like AJAX in jqGrid allows you to do! We really liked the cool feature of filtering, selecting data from the whole data (just like the Advanced/Search Big Sets option in jqGrid Demo) rather than the displayed data! I do not see why I may not be able to do the samething with iframe as well. Other pros in jqGrid include the cool UI with VB or excel based static header and scrollable bars, something I was not able to achieve for display table.
Anyways, I think converting a hibernate object to an XML document should not be hard at all right? I have not done it quite a while ago while learning XML parsers and marshalling. And why doesn't AJAX or rather jqGrid support java based list or array data? One thing I also note is that, equivalent XML data is even heavier and takes more time to transport from the server to the client than the object, isn't it?
There is also Hibernate support for XML documents.
http://www.hibernate.org/hib_docs/reference/en/html/xml.html
Ill have to quickly learn AJAX by this weekend and test one of the pages to see if everything goes well and hopefully start using jqGrid along with JQuery. By the way, JQuery as I see has a totally different programming syntax and is a lot different from Java Script.
I do not have much experience in suggesting a major change. Do you think the transition to AJAX based jqGrid and using JQuery (learning involved as well as JQuery syntax seems to be a little different from javascript) be more useful. I am more interested in its user friendliness, free (is it open source and can it be used in our company application which will be sold?), free example css style sheets, jsp/servlet based examples rather than php based, user groups for free support?
-Cheers
Rama
[ May 21, 2008: Message edited by: Rama Krishna ]
[ May 21, 2008: Message edited by: Rama Krishna ]
Originally posted by Rama Krishna:
I may be am wrong and so I take back that statement. I had a quick look at JQuery and felt it has its own syntax and language.
You down with OOP? Yeah you know me!
You said: You have to have the code on the server side to do the sort (usually just changing a keyword in sql from (asc to desc) and giving back the requested number of rows.
Originally posted by Justin Fox:
all you have to do is build the html on the server side, and echo or response.write or whatever to the page so the xmlHttpRequest can just set the .innerHTML of the div to the response.
Justin Fox
The overall mission is to change the world. When you've done that, then you can read this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|