add data row in table view

I have a table view that I need to add blank data rows to with the push of a button. I already have my data source and everything else set up and am able to import a text file which displays correctly. I’d like for the user to be able to add a blank row so they can manually enter data. I’ve tried:

tell theDataSource
			make new data row at the end of the data rows
end tell

However, this isn’t being reflected in the table view. Any Ideas?

Thanks,
Dan

Would look like this…

	--BLANK ROW AT THE PUSH OF A BUTTON
	if the name of theObject is "blank_btn" then
		set theItem to make new data row at end of every data row of outputDataSource
		set contents of data cell "column1name" of theItem to ""
	end if

Hope this is what you need.

Hi,

I think you can use append. Soemthing like this:

append theDataSource with {{}}

or with a record:

append theDataSource with {{|Name|:“Joe”}}

Fills the |Name| field with “Joe”.

gl,