Hello,
I'm using TableView with a filter-line and MVC. My problem is the following: I want to remember the "filter-value" the user makes but don't know how to get this filter-value (I've checked the class htmlb_event in the do_handle_event-method of my controller).
Does someone know how to get this value?
<htmlb:tableView id = "tableview"
filter = "server"
table = "<%= model->table %>"
columnFilters = "<%= filters %>"
iterator = "<%= iterator %>" />
thanks in advance
A. Schulz
Hi all,
At the moment, the only way to get the filter value back is to evaluate the receiving form fields:
Syntax for each filter is:
tableviewId '-filter_' columnIndex
data: str type string, value type string, name type string, columncount type i, id type string. columncount = 3. id = 'myTableId'. DO columncount TIMES. str = sy-index. CONDENSE str NO-GAPS. CONCATENATE id '-filter_' str INTO name. value = request->get_form_field( name ). ENDDO.
Best wishes,
Steffen Knoeller
Add a comment