DataGridViewCell
Wisej.Web.DataGridViewCell
Last updated
Was this helpful?
Wisej.Web.DataGridViewCell
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents an individual cell in a control.
Initializes a new instance of .
: Returns the name of the cell renderer to use on the client side to render the cell. If it's null or empty, it defaults to "Cell".
The name of the cell renderer can be a fully qualified class name (i.e. "wisej.web.datagrid.cellRenderer.Cell") or just the class name (i.e. "ImageCell") in which case the client library prepends "wisej.web.datagrid.cellRenderer".
Throws:
Throws:
Throws:
Throws:
Throws:
Creates a copy of this cell.
Compares the new value being assigned to the cell with the previous value.
newValue
New value being assigned to the cell.
oldValue
Current value assigned to the cell being replaced by newValue
Creates a new instance of the edit control used to edit values in this cell.
disposing
true when this method is called by the application rather than a finalizer.
rowIndex
The zero-based index of the row containing the cell.
firstCell
true to indicate that the cell is in the first column of the region defined by the selected cells; otherwise, false.
lastCell
true to indicate that the cell is the last column of the region defined by the selected cells; otherwise, false.
inFirstRow
true to indicate that the cell is in the first row of the region defined by the selected cells; otherwise, false.
inLastRow
true to indicate that the cell is in the last row of the region defined by the selected cells; otherwise, false.
format
The current format string of the cell.
Throws:
Returns the command bound to the cell.
Returns the current, formatted value of the cell, regardless the cell being in edit mode.
Throws:
Returns a string that represents the error for the cell.
Returns the value of the cell formatted for the client.
value
The value to be formatted.
valueTypeConverter
formattedTypeConverter
Throws:
Returns a value indicating the current state of the cell as inherited from the state of its row and column.
Returns the style applied to the cell.
includeVisualProperties
true to include inherited visual properties; otherwise, false to include only formatting properties.
Throws:
Returns a string that represents the tooltip text for the cell.
Returns the value of the cell.
Initializes the control used to edit the cell.
editor
style
Throws:
Raised when the contents of a cell need to be formatted for display.
e
Raised when the user clicks on a cell.
e
Raised when the user double-clicks on a cell.
e
Raised when the cell becomes the active cell.
e
Raised when the user types on the keyboard while the grid has the focus and it's not in edit more.
e
Raised when the cell is not the active cell anymore.
e
Raised when the user clicks or taps on a cell.
e
Raised when the user double-clicks or double-taps on a cell.
e
Converts a value to the actual cell value.
value
The display value of the cell.
cellStyle
formattedTypeConverter
valueTypeConverter
Throws:
e
Sets the command for the cell.
command
The cell command to set.
Sets the value of the cell.
value
The cell value to set.
Indicates whether the cell data should be updated on the client even if the user didn't change the value when editing.Since 3.2.5
Used to allow the server to update the cell after editing mode is terminated and the user didn't change anything. For example, a password cell can be obfuscated, or a custom cell may need to always format the rendered value when terminating edit mode.
Updates the cell on the client.
Contains functionality common to row header cells and column header cells.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
: Returns the column index for this cell.
: Returns or sets the implementation to invoke. (Default: null
)
: Returns or sets the shortcut menu associated with the cell. (Default: null
)
: Returns or sets a child control to display inside the cell.
: Returns the control associated with this .
: Returns the default value for a cell in the row for new records.
: Returns a value that indicates whether the cell is currently displayed.
: Returns whether the cell can be edited.
: Returns the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed.
The row containing the cell is a shared row; or the cell is a column header cell.
is less than 0, indicating that the cell is a row header cell.
Formatting failed and either there is no handler for the event of the control or the handler set the property to true. The exception object can typically be cast to type .
: Returns the type of the cell's hosted editing control.
: Returns or sets the text describing an error condition associated with the cell.
: Returns the value of the cell as formatted for display.
is less than 0, indicating that the cell is a row header cell.
The row containing the cell is a shared row; or the cell is a column header cell.
Formatting failed and either there is no handler for the event of the control or the handler set the property to true. The exception object can typically be cast to type .
: Returns the type of the formatted value associated with the cell.
: Returns the type converter to use to convert a formatted value to the cell's value type.
: Returns a value indicating whether the cell is frozen.
: Returns true it the property has been set.
: Checks if the dynamic object was created and has any value.
: Returns the height of the cell.
: Returns the current state of the cell as inherited from the state of its row and column.
The cell is not contained within a control and the value of its property is not -1.
The cell is contained within a control and the value of its property is -1.
: Returns the style currently applied to the cell.
The cell does not belong to a control; or is less than 0, indicating that the cell is a row header cell.
The row containing the cell is a shared row; or the cell is a column header cell.
: Returns whether this is the current cell in the .
: Returns a value indicating whether this cell is currently being edited.
: Returns the column that contains this cell.
: Returns the row that contains this cell.
: Returns or sets whether the cell's data can be edited.
: Returns a value indicating whether the cell can be resized.
: Returns the index of the cell's parent row.
: Returns or sets whether the cell has been selected.
: Returns the size of the cell.
: Returns or sets the style for the cell.
: Returns or sets the object that contains supplemental data about the cell. (Default: null
)
: Returns or sets the ToolTip text associated with this cell.
: Returns a dynamic object that can be used to store custom data in relation to this cell.
: Enables or disables the user paint feature for this cell. When UserPaint is true, the application can handle the event to draw custom content in the cell. (Default: False
)
: Returns or sets the value associated with this cell.
is outside the valid range of 0 to the number of rows in the control minus 1.
is less than 0, indicating that the cell is a row header cell.
: Returns or sets the data type of the values in the cell.
: Return the type converter to use to convert the value in the cell to the formatted value.
: Returns a value indicating whether the cell is in a row or column that has been hidden.
: Returns the width of the cell.
Returns: . The cloned .
Returns: . true
if newValue and oldValue are different.
Returns: .
Releases the resources used by the .
Returns the formatted value of the cell to copy to the .
Returns: . An that represents the value of the cell to copy to the .
rowIndex is less than 0 or greater than or equal to the number of rows in the control.
The value of the cell's property is null.-or- is less than 0, indicating that the cell is a row header cell.
Formatting failed and either there is no handler for the event of the control or the handler set the property to true. The exception object can typically be cast to type .
Returns: . The value contained in the .
Returns: . The current, formatted value of the .
Formatting failed and either there is no handler for the event of the control or the handler set the property to true. The exception object can typically be cast to type .
Returns: . A string that describes the error for the current .
cellStyle
The in for the cell.
A providing custom conversion from the formatted type to the value type, or null if no custom conversion is required.
A providing custom conversion from the value type to the formatted type, or null if no custom conversion is required.
Returns: . The value of the cell or null if the cell does not belong to a control.
Formatting failed and there is no handler for the event of the or the handler set the property to true.
Returns the inherited for the current cell.
Returns: . A instance if the , or the owner , or the owner , or the owner has a assigned; otherwise, null.
Returns: . A combination of values representing the current state of the cell.
Returns: . A that includes the style settings of the cell inherited from the cell's parent row, column, and .
The cell has no associated .
Returns: . A string that describes the tooltip text for the current .
Returns: . The value contained in the .
The that is used to edit the cell.
The that is in effect for the cell entering edit mode.
editor is null.
A that contains the event data.
A that contains the event data.
Called when the element is associated with a different .
A that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
The in effect for the cell.
A for the display value type, or null to use the default converter.
A for the cell value type, or null to use the default converter.
Returns: . The cell value.
cellStyle is null.
The property value is null or the property value is null or value cannot be converted.
value is null or the type of value does not match the type indicated by the property.
Fires the event.
A that contains the event data.
Resets the state to inherit its value from the , and the .
Returns: . True if the value has been set, otherwise false.
Returns: . True if the value has been set, otherwise false.
Returns: . true to force the cell to update the client.
Displays a button widget in a cell.
Displays a icon (not the actual control) in a cell.
Displays an editable control in a cell when in edit mode.
Displays an editable control in a cell when in edit mode.
Displays an image in a cell.
Displays a link widget in a cell.
Displays an editable control in a cell when in edit mode.
Displays an editable control in a cell when in edit mode.
Displays an editable control in a cell when in edit mode.
Represents a column header in a control.
Represents a row header of a control.
Defines an object that can invoke a .