You always have to populate a List or Grid with at least one row before you can type into to it. You should pre-initialize (usually with null values) all rows that you want to make available for operator entry.
If you're using a Grid with a Filter text box than to avoid this error (when typing so much the grid is empty and then tabbing to it) you need to add "errorignore" to the end of your rinputstatement.