The GridColumn class encapsulates the display and edit properties of a DbNetGrid column
| C# | Visual Basic |
[SerializableAttribute] public class GridColumn : Column
<SerializableAttribute> _ Public Class GridColumn _ Inherits Column
| All Members | Constructors | Properties | |||
| Icon | Member | Description |
|---|---|---|
| GridColumn()()() | Initializes a new instance of the GridColumn class | |
| GridColumn(String) | Initializes a new instance of the GridColumn class | |
| Aggregate |
Setting this value will add an aggregate value to a new row to the end of the grid.
The aggregate row is added to the bottom of each grid page and
shows the aggregate for the entire data set (not the current page).
| |
| AutoIncrement |
Indicates that the underlying primary key column is auto-incrementing and thus read-only
(Inherited from Column.) | |
| BaseTableName |
Indicates the underlying table name when using a view as the data source
(Inherited from Column.) | |
| BooleanDisplayMode |
Describes how boolean values are displayed in the grid.
| |
| ColumnExpression |
The column name or expression expression.
(Inherited from Column.) | |
| ColumnName |
The name of the underlying database column name as assigned and returned by the database
(Inherited from Column.) | |
| Display |
Sets if the column is displayed on the grid.
| |
| Edit |
Determines if the column will be displayed on the edit form.
(Inherited from Column.) | |
| EditControlType |
Use this to manually choose the ControlType that you want to use to edit the database column
(Inherited from Column.) | |
| EditFormat |
Format mask for edit dialog if different from display
| |
| EditLookup |
Lookup for edit dialog
| |
| EditMaxThumbnailHeight |
This is the max thumbnail height that is applied to the thumbnail
that is displayed in the edit form.
| |
| EditStyle |
Provide a CSS style that will be applied to the input control on the edit form.
| |
| Filter |
Turns on FilterColumns for this 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...
(Inherited from Column.) | |
| Format |
Applies standard .NET formatting strings to the column value.
(Inherited from Column.) | |
| Hidden | Obsolete.
Sets visibility of Column in display. Deprecated use Display instead.
| |
| InsertReadOnly |
Will set a field to read only while inserting (but not editing).
This is set automatically if a field is auto increment.
(Inherited from Column.) | |
| 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.
(Inherited from Column.) | |
| Label |
Text label used for column heading, edit dialog and search dialog
(Inherited from Column.) | |
| 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
(Inherited from Column.) | |
| LookupSearchMode |
Specifies how searches should be performed against a lookup column.
eg search the value or search the text description.
(Inherited from Column.) | |
| 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).
(Inherited from Column.) | |
| PrimaryKey |
Identifies a column as a primary key. Primary keys will get set to true automatically unless there are joined tables.
(Inherited from Column.) | |
| ReadOnly |
Setting this simply modifies the UpdateReadOnly and InsertReadOnly properties.
(Inherited from Column.) | |
| Required |
Marks the field as being required. The will get set automatically for any fields that
do not allow nulls in the database.
(Inherited from Column.) | |
| Search |
Specifies if the field will added to the search dialog.
(Inherited from Column.) | |
| SequenceName |
Indicates the name of the Oracle sequence used to generate the primary key
(Inherited from Column.) | |
| Style |
Provide a CSS style that will be applied to the column or edit field.
(Inherited from Column.) | |
| UpdateReadOnly |
Will set a field to read only while updating (but not inserting).
This is set automatically if a field is a primary key.
(Inherited from Column.) | |
| 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.
(Inherited from Column.) | |
| UploadMaxFileSize |
The max size in Kb for file uploads.
(Inherited from Column.) | |
| UploadOverwrite |
Sets if the user is allowed to overwrite files. The user will still be asked to confirm an overwrite.
(Inherited from Column.) | |
| UploadRename |
Sets if the user is allowed to rename files.
(Inherited from Column.) | |
| UploadRootFolder |
Setting this value will "turn on" file system uploads.
(Inherited from Column.) | |
| UploadSubFolder |
Sub folder for uploads.
(Inherited from Column.) | |
| Width |
Defines the width of the grid column
|