on 11-09-2005 5:40 AM
Hi,
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
kamlesh
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.
Regards,
Shubham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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? -->
if(wdContext.Node<nodename>.get<myceckbox>)
{
// ..here your coding
}//if
}//for
Regards Mario
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.