iBrowser Events and Methods
The SAP Manufacturing Integration and Intelligence (SAP MII) iBrowser applet supports the SelectionEvent
and DoubleClickEvent
applet parameters that allow JavaScript functions to be associated with the user clicking on an item in the tree or list.
You can use the iBrowserObject getBrowserObject()
method to return a browser component object.
The following table lists common methods you can use with browsers:
Method | Use |
| If the browser is not in tree view mode, this method returns the index of the string |
| Gets the number of all items in the browser |
| Returns an integer that represents the index of the selected item |
| If |
| Sets the selected item based on a matching data link value |
| Ensures that the browser object does not contain duplicate values |
| Returns a string value for the data linked value at the specified index |
| Gets the value of an item based on the item index. The first item has an index of one |
| Gets the data link value of the selected item |
| Gets the data link value of the selected item based on the selected index. You can use it with |
| Gets the value of the selected item. If you are using a mode that displays the item information as |
| Gets the value of the selected item based on the selected index. The first item has an index of one. You can use this method with the |
| Gets a fully qualified path name that includes the names of the selected node and all parent nodes with a forward slash between each level. |
| If the browser is in list or dropdown list mode, this method adds an item to the list. |
| Adds your own data link item to a drop-down list. For example, a query may return a list of equipment names that you use to filter downtime events. The names are displayed in the drop-down list, but the equipment identification numbers are used as the data link items for filtering the downtime event query. You may want to have an |
| If the browser is in list or dropdown list mode, this method adds an item to the list at the indicated index. The first item has an index of one. |
| Similar to |
| If the browser is in list or dropdown mode, this method removes all items. |
| If the browser is in list or dropdown mode, this method removes an item based on a string value match. |
| If set to true, the query returns two columns. The value of the second column is stored as a data linked value for each item in a list or drop-down list. You can access the values using the |
| If you are using a list or tree browser, this method sets the selected item based on the string value match. If multiple items match in a tree browser, only the first matching item is selected. |
| If you are using a list or dropdown list browser, this method sets the selected item based on the item index. The first item has an index of one. |
| Sets the selected path for a tree browser based on a string value match |
| If the parameter is true, the system rereads the underlying data. If the query is time-based, the |