on 03-29-2007 5:17 AM
Hi All,
I have scenario like i have table element binded with RFC output node data is coming but in the same view search criteria is there based on that I have to show particular rows.
Exp: Table is having 3 rows
101 AAA SalesManager
102 BBB AccontManager
103 CCC Marketing Manager
Above three rows are coming from RFC with one input field in the each row. In the same view input field /button is there. If I enter input filed (Search criteria)101 when ever I click on search I have to get only one record from the table after that I have to do some other process with same table node.
How its the way to do.
Thanks in advance.
~Adams.
Hi adam,
U can write the code to skip the particular row.
Find the row number which u want to hide and loop through the node and Store it in
another node or remove that particular element.
Regards,
Ramganesan K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adam,
You can implement the "search and display" functionality with Table filters.
Following thread can help you with this:
Also refer to the following blogs:
/people/peter.vignet/blog/2007/01/03/generic-web-dynpro-java-table-filter (Preferred)
/people/subramanian.venkateswaran2/blog/2005/05/10/filtering-table-values-using-webdynpro
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi adam,
Bind the visibleRowCount property of the table UI element to a value attribute of type integer and set it to zero initially. Now when the user inputs the search criteria and clicks on the search button you will be displaying user the data on the basis of his search. In the onAction search set the value attribute to -1 (will show all the rows) or to any integer value suppose 5 if you want user to see only 5 records at a time.
<b>Do reward points if it helps.</b>
Regards
Sid
Hi Adam,
Have you wrote the logic to filter the enteries on the basis of the search criteria inserted by the user. If not then I think you should use onFilter action for it. I am not sure if the table UI element provide some search feature too as mentioned by alka.
Hi adam for help on how to write a filtering code go through the second blog mentioned by alka its really nice.
Regards
Sid
Message was edited by:
siddharth chauhan
Hi Adam,
How about binding the VisibleRowCount to a context attribute and setting it according to your need i.e first set it to zero an in the seach action set it to -1 which will not restrict any row.
Regards
Sid
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.