SMART datagrid v.1 > Classes

Back  Forward

DataLudi.DataRow  class

连接在DataSet的数据行的网格行。 

如同其他网格行,因为被创建和清除在网格内部,所以无需直接创建这个类对象。 

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