Skip to Content
avatar image
Former Member

tablesorting for table

I am trying to sort a table using table sorter class and i have followed each and every step from the below link

http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.nw.wpc.runtime.docs/library/web-dynpro-java/_web-dynpro-java/WDJava%20archive/Developing%20with%20Tables%20in%20Web%20Dynpro.pdf

I am getting table output and am able to view sort icon symbols but the sorting is not working when i click on sort symbols.Please help me with the issue.

For comparator am passing null.Does it anyway relate to my issue.

Thanks,

Anusha


 

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 02, 2013 at 11:26 AM

    Hi Anusha,

    Check weather you are passing proper id of the table.

    In Modify View

    Did u pass proper id?

    "ShoppingBasket" .This should be same as the "id" of the table ,which you can check in the properties of the table.

    For comparator am passing null?Where you are passing null?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Anusha,

      In that Sort.java file there will be "package path" in the 1st line of code

      This package statement  according to your  path should be  " com.mySC.component ; "

      Thanks,

      Satya