Skip to Content
avatar image
Former Member

problems in multiselection


Till now i have been able to select one row in the list of orders and display the detail of that record in other view, is multiple selection of records and multiple display of the details of that selected records possible.

If yes how !

With Regards


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Nov 09, 2005 at 01:15 PM

    Hi Kamlesh,

    You have to set the selection property of the node ListOrder to 0..n

    Now when the user selects multiple row(by using CTRL key) and Click detail check like this.

    int nodeSize = wdContext.nodeListOrders().size();

    int leadSelect = wdContext.nodeListOrders().getLeadSelection();

    for(int index=0; index<nodeSize; index++){

    if (index == leadSelect || wdContext.nodeListOrders().isMultiSelected(index)){

    < Do your processing to get the detail records >



    Hope this helps.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Other solution:

      - Add an attribute <myceckbox> in your contexNode (type boolean!!!)

      - Generate the table by ApplyTemplate an let the new attribute be show in your table.

      an the coding is :

      for(i=0, wdContext.Node<nodename>.size()-1, i++)


      // ist the checkbox checked? -->



      // your coding



      Regards Mario