XPages Sort Column Functionality

I’m using a View Control with a sorted column and all is working fine. However, I have a couple of issues I’m having problems tracking down.1) Users are commenting that there is nothing to identify that a view has been sorted on a given column. The sort image (sort_none.gif) is the same regardless of sorting. Is there any way to define or change the image? I cannot see any difference in the xspPanelViewColumnHeader style applied or anything in the stylesheets to control this.

  1. Some users are clicking on the sort image rather than the column title, expecting that to sort the column. From the source I see that the anchor tag is only placed around the title, not the image. Is there any way to change this, or repeat it for the image?

Thanks

Paul Withers

Subject: any updates here? about sort icon?

Subject: what parametrs to sort a view?

I’m trying to sort a view, depending on URL parameters, but I can’t understand what VALUE I should put to make sort work…

I have put in “sortColumn” for ‘data’ the value

context.getUrlParameter(“sortCol”);

and in “sortOrder” for ‘data’ the value

context.getUrlParameter(“sortOrd”);

then the URL will be something like:

/index.xsp?sortCol=myColumn&sortOrd=Ascending

BUT whatever value I put in sortCol and sortOrd I can’t seem to get it to work!

I ask:

  • sortCol= WHAT ? column name? column number? internal column name? sequence number?!!?!?

  • sortOrd= WHAT? A? D? Ascending? Descending? true? false? 0|1? -1??!?!?!

thank in advance for any help