The wijgrid widget allows users to add a new row using the data option. However, a user can add a new row at runtime as well.
For example, the script below allows users to add a new row by clicking the Add New Row button. The script sets the selectionMode to singleCell and editingMode to cell, which lets a user add values into the selected cell.