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?
--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