Gets the display value of the cell in the the specified position.
Namespace: MindFusion.DataViews
File: GridModel.js
SyntaxJavaScript
Copy Code
|
|---|
function displayValue (row, column) |
Number. The row index.
Number. The column index.
String. The display value.
ExampleThe following code checks the caption of the 4th column in a grid and gets the value rendered in its first cell:
JavaScript
Copy Code
|
|---|
| if(grid.model.columnCaption(3) == "Registered") { //get the data in the first cell of the column var cellData = grid.model.getValue(0, 3); ............................................. } |
See Also