SMART datagrid v.1 > Classes

Back  Forward

DataLudi.DataRow  class

The grid row which is connected to the data row of DataSet

Like other grid rows, since it is created and removed within grid, you do not need to directly create this class object. 

Base Classes
GridRow > DLBase
Inherited Classes
EditRow
Constructor
function DataRow (dataRow: Integer);
Inherited Properties
GridRow.childIndex
GridRow.dataIndex
GridRow.dataSource
GridRow.dataState
GridRow.index
GridRow.leaf
GridRow.level
GridRow.merged
GridRow.next
GridRow.parent
GridRow.parentIndex
GridRow.prev
GridRow.rowState
GridRow.visible
Inherited Methods
DLBase.assign
GridRow.ctor
GridRow.getAncestor
GridRow.getAncestors
DLBase.getProperties
DLBase.getProperty
GridRow.getRowData
GridRow.getRowObject
GridRow.getSiblings
GridRow.getUncles
GridRow.getValue
GridRow.isDescendantOf
GridRow.makeVisible
DLBase.setProperties
DLBase.setProperty
GridRow.setValue
DLBase.toggle

 

Code -1
    $('#getName').click(function () {
        var row = grid.focusedRow();
        if (row instanceof DataRow) {
            console.log(row.getData('name');
            $('#value').val(row.getData('name'));
        }
    }
See Also
GridRow.dataIndex
DataSet
Examples
Hello Grid