Skip to Content
avatar image
Former Member

error while sorting the model node table

hi

if(firstTime)

{

view.nowCreateAllCustomExtensionFields();

IWDTable tab= (IWDTable)view.getElement("tbl_car");

wdContext.currentContextElement().setCarTableSorter(new TableSorter(tab,wdThis.wdGetCarTableSorterAction(),null));

}

i have written the above code in domodifyview() {}

and tbl_car is the id of the my table. and the table is of type

model node .

wdContext.currentContextElement().getCarTableSorter().sort(wdEvent,wdContext.nodeIt_Car_Data());

created a sort action for the table , present in the table

properties and iam getting a error under sort() saying

method sort(iwdcustomevent,iwdnode,string) is of type

tablesorter and not applicable for

(wdcustomevent,iprivateview.nodename)

can any one help me ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 07, 2008 at 09:53 AM

    replace

    if(firstTime)
    {
    view.nowCreateAllCustomExtensionFields();
    IWDTable tab= (IWDTable)view.getElement("tbl_car");
    wdContext.currentContextElement().setCarTableSorter(new TableSorter(tab,wdThis.wdGetCarTableSorterAction(),null));
    }
    

    by

    if(firstTime)
    {
    view.nowCreateAllCustomExtensionFields();
    IWDTable tab= (IWDTable)view.getElement("tbl_car");
    wdContext.currentContextElement().setCarTableSorter(new TableSorter(tab,wdThis.wdGetCarTableSorterAction(),new HashTable()));
    }
    

    nikhil

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 07, 2008 at 07:49 AM

    Hi,

    for sorting model nodes..

    How do you sort a result table from a BAPI

    regards,

    pradeep

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 03, 2011 at 05:30 AM

    bbbb

    Add comment
    10|10000 characters needed characters exceeded