on 02-09-2005 4:17 PM
Hi @all!
Case:
I have a tableview with a filter . The filter is set by the user. How can i get now the actual row which the user can see in the tableview. My first try was to get the rows with the "selectedrows" which is dwsribed here in the forum. that dosent work. Is there maybe a way to do this.
Thanks for any hint on this.
Thorsten
Hi Thorsten,
I don't know some function like this...
Sorry but this method i explain isn't too complicate to realize.
Perhaps anyone else can help.
Cya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
i tried the way like Marcus described. But i looks like i made i mistake. I implement code as follows.
data: tv type ref to CL_HTMLB_TABLEVIEW,
html type string.
create object tv.
CALL METHOD tv->GET_FILTER_ROW
RECEIVING
HTML = html.
But i get an error message when activating the code.
"<i>Method "GET_FILTER_ROW" is unknown or PROTECTED or PRIVATE.</i>"
Can someone tell me where i made the mistake.
Thank you
Hi Thorsten.
I would try this one:
get the filter value with GET_FILTER_ROW.
Now you can select dynamically your DB with the Where String.
Now you have your rows!
Please reply if this one works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Throsten,
Check the method GET_FILTER_ROW in CL_HTMLB_TABLEVIEW...
Best regards
Ariel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, i dont want to know which values the filter row has. I want to know if there is an easy way to get all the rows(in the onInputProcessing) which were displayed due to the setting of the filter.
Col1 Col2 Col3
A A A
B B B
C C C
B B B
Setting a filter for Col2 = B
Col1 Col2 Col3
B B B
B B B
These both rows i want to get in the onInputProcessing.
Thank all
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.