Maptitude GISDK Help |
Provides methods to modify a data table.
CC.ModifyTableOperation (string view)
Initializes a new instance of the class with default settings.
FindField(string field_name)
Returns the position of the field in the current dataview.
AddField ( arr options)
Add a field to the data table.
Option |
Type |
Description |
|
name |
string |
Name of the field to be added |
|
type |
string |
Field type |
|
width |
string |
Field width |
|
decimals |
string |
Display decimals |
|
opts |
array |
Additional field options: Indexed, Format, Aggregation, Description, DefaultValue, JoinSplit, DisplayName |
FindOrAddField( arr options)
Add a field if it does not exist in the data table.
Option |
Type |
Description |
|
name |
string |
Name of the field to be added |
|
type |
string |
Field type |
|
width |
string |
Field width |
|
decimals |
string |
Display decimals |
|
opts |
array |
Additional field options: Indexed, Format, Aggregation, Description, DefaultValue, JoinSplit, DisplayName |
Apply( )
Apply the changes to the data table.
See Also:
©2025 Caliper Corporation | www.caliper.com |