Wijmo UI for the Web
currentCell Method
Zero-based index of the required cell inside the corresponding row.
Zero-based index of the row that contains required cell.
Sets the current cell for the grid.
Syntax
Javascript (Usage) 
var instance = new jQuery.wijmo.wijgrid();
var value; // Type: cellInfo

// Parameters
var cellIndex; // Type:  number
var rowIndex; // Type:  number

value = instance.currentCell(cellIndex, rowIndex);
Javascript (Specification) 
function currentCell( 
   cellIndex : number,
   rowIndex : number
) : cellInfo;

Parameters

cellIndex
Zero-based index of the required cell inside the corresponding row.
rowIndex
Zero-based index of the row that contains required cell.

Return Value

Object that represents current cell of the grid.
Example
$("#element).wijgrid("currentCell", 0, 0);
Remarks
If you wish to hide the current cell, use (-1, -1) for the value.
Browser Compatibility
7
5
5

See Also

Reference

wijgrid type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.