Skip to Content
avatar image
Former Member

Sorting Ascending or descending order of Rows of a table

Hi,

In my requirement I have to call Adaptive RFC and

displaying result in table.I have to sort rows in table.

Everything is fine when i am trying to sort by following

these steps in below .

In Table view context I created model attribute(I already tried by creating value node).And i selelct

type property of model attribute and i select Java Native

Type and when I am trying to browse for com.sap.tc.webdynpro.tests.utils.TableSorter class it is not prasent .

I already did table sort for another application which is fetching data from Dictionary simple type that was successfull but when i am fetching from Adaptive RFC and display in table and trying to sort rows

TableSorter class is not comming for sorting functionality.

Thanks and Regards

sailajit

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 21, 2006 at 11:43 AM

    Hi

    Try this

    You can copy the TableSorter.java in your local package and Give the reference to that type.It will work.

    You can get TableSorter.java from here

    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/bad3e990-0201-0010-3985-fa0936d901b4

    Kind Regards

    Mukesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 21, 2006 at 12:31 PM

    Hi mukesh

    I had already gone through that pdf file .I did one application that was success full ,in that pdf file it is taking data from Dictionary that was fine.But in my application I am taking data from RFC and when i am selecting Java Native ,TableSort.java class is not comming in browse option,so how i will get that.

    thaks & regards

    muna

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi muna,

      please go through the link which is given by Mukesh, and download the file named TableSorter.java file. save this file under your current project's src/packages folder(you can also define a subpackage).

      After this you can browse through Java Native type and get the TableSorter Class.

      regards

      karthik

  • avatar image
    Former Member
    Sep 22, 2006 at 04:14 AM

    Hi Mukesh and Kartikh

    Thanks for your immediate help problem is solved.

    Thanks

    muna

    Add comment
    10|10000 characters needed characters exceeded