Hi
All,
I have a table where
the column is sortable. Now when I move over the mouse cursor, I could see the
request parameters
d-XXXXXX-o=1&d-XXXXXX-s=1 along
with the struts mapping which I have specified in the requstURI in the table
tag.Something like this: http://localhost:8080/tms/viewNotesList.do?d-49616-o=2&d-49616-s=0
My requirement is to
hide this http URL and instead I want to abstract this URL into a _javascript_
function where I could pass
the sort Order and
sortColumn. something like :
_javascript_:sortData(<<sortColumnName>>,<<sortOrder>> ).I would like to submit the form
from the _javascript_.
Today I had read in
the documentation and did a code walkthrough of DT source. but could not
get any help. Here, I guess using the column decorators would not help
because this is the column header which is being processed in HtmlTableWriter
class. The writeTableHeader(TableModel model) constructs the Anchor
class object when the column is sortable and writes it to the JSP
writer. I could not figure out how to make this method to use custom
HREFs.
Please let me know
if somebody has come across similar situation.
Any help would be
highly appreciated.
Thanks in
advance.
-Manish.

