Skip to Content
avatar image
Former Member

Table Filtering in NWDS 7.3

Gurus ,

I am looking for a tutorial on table filtering in NWDS 7.3 .

Can someone provide some pointers .

TIA ,

Himanshu 

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 19, 2013 at 08:32 PM

    Table filter is feature which is supported by WDJ but you have to implement.

    This document should solve your requirement:http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0cf0997-2e08-2d10-b08e-964a2c...

    Regards,

    Sharath

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 25, 2013 at 09:34 AM

    Please go through the these steps

    Create one context attribute "TableFilter" directly under Root context as below:

    Change the type of the "TableFilter" attribute to java class TableFilter. 

    Go to the properties of the  table columns: Bind the Attr1 of FilterTestNode to FilterValue property of the Column1 and Bind the Attr2 of FilterTestNode to FilterValue property of the Column2.

    In the actions tab create one action as "Filter" and write the below code in that action:

    1. wdContext.currentContextElement().getTableFilter().filter(wdContext.nodeSourceTestNode(),wdContext.nodeTestNode());

    In wdDoModifyView() method write the below code:

    if (firstTime) {

    //Here in the below line of code, "Table" is the ID of the UI element table.

    IWDTable tableFilter = (IWDTable) view.getElement("Table");

    1. wdContext.currentContextElement().setTableFilter( new TableFilter(tableFilter, wdThis.wdGetFilterAction(), wdContext.nodeSourceTestNode(), null));

    }

    Table Filter.JAVA : http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=341542375

    And check this link

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5996f?QuickLink=index&overridelayout=true&11802570146719

    Hope this helps!!

    Regards

    Vijay Kalluri

    Add comment
    10|10000 characters needed characters exceeded