Simulink.dialog.parameter.CustomTable Class
Namespace: Simulink.dialog.parameter
Create custom tables programmatically
Description
The purpose of Simulink.dialog.parameter.CustomTable
class is to create an object of the custom table dialog control on a mask object. The methods
of Simulink.dialog.parameter.CustomTable
allows you to,
Create and remove custom tables.
Insert, remove, and get values of columns.
Insert, remove, swap, and add rows.
Properties
Columns
— Columns of custom table
string
Columns of the custom table, specified as an object of
Simulink.Mask.TableParamColumnInfo
.
Data Types: string
ShowFilter
— Display filter
on
| off
Display filter on the custom table, specified as logical value. Filter helps you to filter columns.
Data Types: logical
Multiselect
— Option to select multiple columns
on
| off
Allow multiple columns to be selected in the custom table, specified as a logical value.
Data Types: logical
Sortable
— Option to sort columns
on
| off
Allow sorting of columns in the custom table, specified as a logical value.
Data Types: logical
Row
— Rows of the custom table
on
| off
Rows of the custom table, specified as string.
Data Types: string
HorizontalStretch
— Stretch custom table horizontally
on
| off
Option to stretch the custom table horizontally, specified as logical value. If this option is selected, the controls on the mask dialog box stretch horizontally when you resize the mask dialog box.
Data Types: logical
Name
— Name of custom table
string
Name of the custom table, specified as a string.
Data Types: string
Tooltip
— Tooltip for custom table
string
Tooltip for the custom table, specified as a string.
Data Types: string
Methods
Public Methods
addColumn | Add new column in the custom table |
addRow | Add a new row in the custom table |
getChangedCells | Get all the changed cells of a custom table |
getColumn | Get the column properties |
getNumberOfColumns | Get number of columns from the custom table |
getNumberOfRows | Get the number of rows available in a custom table |
getSelectedRows | Get all the selected rows of a custom table |
getTableCell | Get the properties of a custom table cell |
getValue | Return value of data dictionary entry |
insertColumn | Insert a column at a specific position in the custom table |
insertRow | Insert a row at a specific position in a custom table |
removeColumn | Remove an existing column from a specific position in a custom table |
removeRow | Remove an existing row from a specific position in a custom table |
setTableCell | Set properties of custom table cell |
swapRows | Swap two existing rows in a custom table |
Version History
Introduced in R2013b
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)