on 2019 Sep 20 10:02 AM
Hi,
I have table control in webdynpro having around 15 columns.
Added sort & filter functionality to the same table.
My problem is, filter is not working if I add date column as part of filter.
I think the date attribute in the context node 'Filter_value' is having default value as 00.00.0000.
So while applying filter it checks for this value 00.00.0000 in the table entries, because of which it is returning zero entries.
How to overcome this issue.
Regards,
Chandru.
Request clarification before answering.
The documentation mentions this which may be the issue:
If you nevertheless decide to use integers for TableColumn.filterValue rather than a text-based type, we recommend you set the attribute to ,nullable and initialize it with IF_WD_CONTEXT_ELEMENT~SET_ATTRIBUTE_NULL(). This allows you to differentiate between the user not wanting to filter and the user wanting to filter after the initial value (for example, 0 in the case of integers).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.