You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

More than one entry can be selected in the instance list using the Allow multiple selections option. This script displays the number and name of all selected employees in a message:
 
/* Get all selected employee details */
  uShowEmpDetails : function () {
 
   var i = 0;
   var strMessage = "";
 
   for (i = 1; i <= objListManager.TotalSelected; i++)
   {
      strMessage += "Employee " + objListManager.VisualId1[i];
      strMessage += " - " + objListManager.VisualId2[i] + "\x0D";
   }
 
   alert(strMessage);
},
 
So if this script was used with three selected instance list entries like this:

 
It would display this alert message:

 
[<span style="color: #0000ee"><span style="text-decoration: underline; ">Show Contents List</span></span>|../../index.htm#lansa/lansa050_2280.htm]

  • No labels