SMART datagrid v.1 > Classes > GridRow

Back  Forward

DataLudi.GridRow.prev  property

返回位于该行之前的兄弟行。 

可以通过next,了解下个行。 

Getter
function prev(): GridRow
Code -1
    $('#getPrevValue').click(function () {
        var prevRow = grid.focusedRow().prev();
        alert(prevRow.getValue(0));
    });
See Also
next
GroupRow
Examples
Hello Grid