cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting Ascending or descending order of Rows of a table

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Mukesh and Kartikh

Thanks for your immediate help problem is solved.

Thanks

muna

Former Member
0 Kudos

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

Former Member
0 Kudos

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