on 08-11-2011 5:50 AM
Hi Gurus,
I have a requirement, I need to create a search functionality on a table in WD View screen.
I need to add a search button, On click of the search button , A pop up-window is to be opened to take input of a string for search.
I need to search the string in table rows and if a matching record is founded THEN the found row should be highlighted and the scrollbar shall go directly to this reference.
In this scenario how to do the following task :
1. Highlight the match row .
2. taking scroll bar directly to this reference.
Please guide me .
Regards,
Sowmen
Hi.,
For First Ques:.,
You can do using., set_lead_selection_index( ) method of node. while searching you loop the internal table and store the matched indexes and use the above method.,
or you can use E_CELL_DESIGN to high light.,
For Second Ques ., I dont know whether It is possible ., check scrollableColCount in this help Link :
http://help.sap.com/saphelp_nw70/Helpdata/en/b5/ac884118aa1709e10000000a155106/content.htm
but it only give col count up to how many cols to scroll.,
Or Alternately., You can put the matched rows in the first rows by highlighting using cell design ., you loop the table ., take the matched rows and append it at starting of the table.,
hope this helps u.,
Thanks & Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.