JavaScript
listObj.listRowIsNew Method
Syntax
listObj.listRowIsNew([zeroBasedRowNum]);
Arguments
- zeroBasedRowNumnumber
The List row to check.
Returns
- resultboolean
Returns true if the current row in the List is a new row.
Description
Returns true if the current row in the List is a new row. You can optionally specify a zero based row number.
Example
var listObj = {dialog.object}.getControl("LIST1"); if (listObj) { var new = listObj.listRowIsNew(); if (new) { alert("The current row is new."); } else { alert("The current row is not new."); } new = listObj.listRowIsNew(2); if (new) { alert("Row 3 in the List is new."); } else { alert("Row 3 in the List is not new."); } }
Limitations
List Control with Detail View Part
See Also