Maptitude GISDK Help

CC.ModifyTableOperation

Provides methods to modify a data table.

 

Constructor

 

CC.ModifyTableOperation (string view)

Initializes a new instance of the class with default settings.

 

Methods

 

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:

AddLayerDB

AddTables

Calculate Tables

Caliper.Charts

CC.ModifyTableOperations

CC.Table

Clustering

Data.Finder

Data.Geocoder

PostgreSQLConnect

PostgreSQLCommand

Routing.Bands

Routing.Path

Routing.Router

Table

Utilities.Mail

 

©2025 Caliper Corporation www.caliper.com