on 03-23-2006 9:04 AM
Hi @ all!
I'm trying to manipulate the form_fields in do_handle_data to concatenate a '*' to entered filtervalues in a tableview. So far I got it like that:
data: new_form_fields type tihttpnvp.
field-symbols <fs> type ihttpnvp.
new_form_fields = form_fields.
loop at new_form_fields assigning <fs>.
if <fs>-name cs 'filter_'
and <fs>-value is not initial
and not <fs>-value cs '*'.
concatenate <fs>-value '*' into <fs>-value.
endif.
endloop.
request->set_form_fields( fields = new_form_fields ).
call method super->do_handle_data
exporting
form_fields = new_form_fields
global_messages = global_messages.
But this code only works if tableview's filterColumns is not bound from the model. Even if I changed the filterColums-Table from do_handle_data. My table filterColumns has some Inputs, Dropdowns and TristateCheckbox defined.
My Tableview:
<htmlb:tableView id = "tvantraege"
headerText = "<%= antragmodel->tableheader %>"
width = "100%"
headerVisible = "false"
design = "STANDARD"
visibleFirstRow = "1"
visibleRowCount = "<%= application->eing_rows %>"
fillUpEmptyRows = "true"
showNoMatchText = "true"
filter = "server"
columnFilters = "<%= antragmodel->filter %>"
sort = "server"
selectionMode = "NONE"
table = "//ANTRAGMODEL/ANTRAGSLISTE"
tabIndexCell = "true"
iterator = "<%= tv_iterator %>"
Thanks in advance.
Sebastian
You can simply use the following methods to get and set the filter row values.
CL_HTMLB_MANAGER=>SET_FILTER_ROW_VALUE
CL_HTMLB_MANAGER=>GET_FILTER_ROW_VALUE
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.