Intersoft WebGrid Documentation
WebGridActiveCell
Send comments on this topic.
Intersoft WebGrid > Client-side References > WebGridActiveCell

Glossary Item Box

 WebGridActiveCell Properties

element Description
Returns the cell element of the active edit cell.

ValueType
object (cell element)

Default Value
-
tblName Description
Returns the table name of active edit cell.

ValueType
string

Default Value
-
gridId Description
Returns the ID of the WebGrid.

ValueType
string

Default Value
-
cellIndex Description
Returns the index of the active edit cell.

ValueType
integer

Default Value
-
rowElement Description
Returns the row element of the active edit cell.

ValueType
object (row element)

Default Value
-
rowChanged Description
Returns the flag that determines whether or not the row has changed.

ValueType
boolean

Default Value
-

 WebGridActiveCell Methods

GetColSetRowElement Description
Gets the first/root row element of ColumnSet rows.

Parameters

-

Remarks

-

Return Value

object (row element)

Samples
This sample shows how to get the row element of the specified active cell.

function doEnterEditMode(gridId,tblName,editObject)
{
    //get the grid object    
    var grid=ISGetObject(gridId);
    //get the active cell 
    var activeCell = grid.GetActiveEditCell();
    //get the row element
    var row = activeCell.GetColSetRowElement();
    return true;
}
GetColSetRowsElement Description
Gets the ColumnSet rows of active cell.

Parameters

-

Remarks

-

Return Value

array (row element collection)

Samples
This sample shows how to get the ColumnSet row elements of the specified active cell.

function doEnterEditMode(gridId,tblName,editObject)
{
    //get the grid object    
    var grid=ISGetObject(gridId);
    //get the active cell
    var activeCell = grid.GetActiveEditCell();
    //get the columnset row element
    var csRows = activeCell.GetColSetRowsElement();
    return true;
}
©2012 Intersoft Solutions Corp. All Rights Reserved.