Search
GridModel.displayValue Method
See Also
 






Gets the display value of the cell in the the specified position.

Namespace: MindFusion.DataViews
File: GridModel.js

 Syntax

JavaScript  Copy Code

function displayValue (row, column)

 Parameters

row

Number. The row index.

column

Number. The column index.

 Return Value

String. The display value.

 Example

The 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