[]
Gets the value in a grid cell, formatted as a string.
public virtual string GetDataDisplay(int row, int col)
Type | Name | Description |
---|---|---|
int | row | Row index. |
int | col | Column index. |
Type | Description |
---|---|
string | A string containing the data displayed in the given grid cell. |
Gets the value in a grid cell, formatted as a string.
public virtual string GetDataDisplay(int row, string colName)
Type | Name | Description |
---|---|---|
int | row | Row index. |
string | colName | Column name. |
Type | Description |
---|---|
string | A string containing the data displayed in the given grid cell. |
Gets the value in a grid cell, formatted as a string, and the image or checkbox in the cell.
public virtual string GetDataDisplay(int row, int col, out Image img, out CheckEnum chk)
Type | Name | Description |
---|---|---|
int | row | Row index. |
int | col | Column index. |
Image | img | Returns the image in the cell. |
CheckEnum | chk | Returns the checkbox value in the cell. |
Type | Description |
---|---|
string | A string containing the data displayed in the given grid cell. |
This method provides a way to retrieve all the data that is displayed in a cell with a single call.
The image returned in the img
parameter may be an image assigned to the
cell using the SetCellImage(int, string, Image) method, a mapped value obtained through an ImageMap,
or an image stored as cell data (when the cell's DataType is set to Image).
The CheckEnum value returned in the chk
parameter is the value
returned by the GetCellCheck(int, int) method.
Gets the value in a grid cell, formatted as a string, and the image or checkbox in the cell.
public virtual string GetDataDisplay(int row, string colName, out Image img, out CheckEnum chk)
Type | Name | Description |
---|---|---|
int | row | Row index. |
string | colName | Column name. |
Image | img | Returns the image in the cell. |
CheckEnum | chk | Returns the checkbox value in the cell. |
Type | Description |
---|---|
string | A string containing the data displayed in the given grid cell. |
This method provides a way to retrieve all the data that is displayed in a cell with a single call.
The image returned in the img
parameter may be an image assigned to the
cell using the SetCellImage(int, string, Image) method, a mapped value obtained through an ImageMap,
or an image stored as cell data (when the cell's DataType is set to Image).
The CheckEnum value returned in the chk
parameter is the value
returned by the GetCellCheck(int, int) method.