DbNetSuiteVS
Column Class
NamespacesDbNetLink.DbNetSuiteVSColumn
Base class for GridColumn and EditColumn classes
Declaration Syntax
C#Visual Basic
[SerializableAttribute]
public abstract class Column
<SerializableAttribute> _
Public MustInherit Class Column
Members
All MembersConstructorsProperties



IconMemberDescription
Column()()()
Initializes a new instance of the Column class

AutoIncrement
Indicates that the underlying primary key column is auto-incrementing and thus read-only

BaseTableName
Indicates the underlying table name when using a view as the data source

ColumnExpression
The column name or expression expression.

ColumnName
The name of the underlying database column name as assigned and returned by the database

Edit
Determines if the column will be displayed on the edit form.

EditControlType
Use this to manually choose the ControlType that you want to use to edit the database column

ForeignKey
Used to identify a foreign key field in a child control. This column is matched with the PrimaryKey column in the parent control If there are multipart primary keys and foreign keys then the ordering of columns is important because the first foreign key in the child control will be matched to the first primary key in the parent control, and so on...

Format
Applies standard .NET formatting strings to the column value.

InsertReadOnly
Will set a field to read only while inserting (but not editing). This is set automatically if a field is auto increment.

IsBoolean
Can be used with databases that do not support a boolean data type. setting this to true will force the value to be displayed and edited as a boolean.

Label
Text label used for column heading, edit dialog and search dialog

Lookup
Associates a coded value with a defined list of descriptive values and automatically converts the coded value to the descriptive value. The property can be defined as an SQL statement or as a JSON encoded array

LookupSearchMode
Specifies how searches should be performed against a lookup column. eg search the value or search the text description.

MaxThumbnailHeight
If the field contains binary image data a thumbnail will be displayed. All images will be scaled so that they are no taller than this value (in px).

PrimaryKey
Identifies a column as a primary key. Primary keys will get set to true automatically unless there are joined tables.

ReadOnly
Setting this simply modifies the UpdateReadOnly and InsertReadOnly properties.

Required
Marks the field as being required. The will get set automatically for any fields that do not allow nulls in the database.

Search
Specifies if the field will added to the search dialog.

SequenceName
Indicates the name of the Oracle sequence used to generate the primary key

Style
Provide a CSS style that will be applied to the column or edit field.

UpdateReadOnly
Will set a field to read only while updating (but not inserting). This is set automatically if a field is a primary key.

UploadExtFilter
A comma seperated list of allowed file upload extensions. If the column contains blob data then the first extension in this list will be used when streaming the file.

UploadMaxFileSize
The max size in Kb for file uploads.

UploadOverwrite
Sets if the user is allowed to overwrite files. The user will still be asked to confirm an overwrite.

UploadRename
Sets if the user is allowed to rename files.

UploadRootFolder
Setting this value will "turn on" file system uploads.

UploadSubFolder
Sub folder for uploads.

Inheritance Hierarchy

Assembly: DbNetLink.DbNetSuiteVS (Module: DbNetLink.DbNetSuiteVS) Version: 0.9.3317.16858 (0.9.0.0)