Object: Column
- Updated2024-09-12
- 2 minute(s) read
(Cell | Cell
Object: Column
In the search results list of a DataFinder or of a data store the Column object provides a column with properties. If you run an advanced search, DIAdem automatically adds columns with the properties that you searched for. Select Configure Search Results List from the context menu of the search results list to manually add further columns with properties. You only can remove columns which were added manually.
The following example displays in a DataFinder the property with the focus in the search results column:
| VBScript | Python |
Dim oMyResultsList, oMyCell Set oMyResultsList = Navigator.Display.CurrDataFinder.ResultsList Set oMyCell = oMyResultsList.FocusedCell If NOT oMyCell Is Nothing Then Call MsgBoxDisp(oMyCell.Column.Property) End If
The following example loads in a data store the columns selected in the search results as channels into the Data Portal:
| VBScript | Python |
Dim oMyResultsList, oReturnType, SelectedColumn Set oMyResultsList = Navigator.Display.CurrDataStore.ResultsList oReturnType = Navigator.Display.CurrDataStore.QueryForm.ReturnType For Each SelectedColumn in oMyResultsList.ColumnsSelection Call Navigator.LoadProperty(SelectedColumn.GetPath(oReturnType),oMyResultsList.Elements) Next
Methods
Returned From
Cell <DataFinder>.Column | Cell <DataStore>.Column | Cell.Column | Columns.Add | Columns.Item | ColumnsSelection.Item
See Also
Procedures
Configuring the Search Results | Defining Search Areas | Executing a Search with OR Operations | Executing a Text Search | Indexing Search Areas | Optimizing Custom Properties | Saving and Loading a Search Query | Searching for Data on a Different Computer in the Network | Searching for Multiple Properties | Sorting Search Results before Executing a Search
Examples
Brake Tests for Trucks | Checking DataPlugins for Timeout | Combining DataFinder Search Results | Context Menu for the Search Results of the DataFinder | Creating ATFX Files from the Context Menu of an ASAM Data Store | Customized User Interface | Evaluation Wizard for the Search Results of the DataFinder | Filtering Data with a Dialog Box | Filtering Data without a Dialog Box | Search and Evaluation Functions in User Dialog Boxes | Searching for and Evaluating Channels | Searching for Channels in the NAVIGATOR | Searching for Data Sets Marked "Failed" in Data Stores | Searching for Data Sets Marked "Failed" | Searching for Properties and Evaluating the Associated Channels | Varying Browse Settings of a Data Store