View Full Version : Auto save and create new row in table view

17th June 2011, 16:52
I have created a maintenace screen using a tableview. The customer would like the view to automatically save the record and add a new line once they have populated the last field in the view. Is there a way to do this? Code examples would be appreciated. Thank you in advance.

Santosh Reddy
17th June 2011, 18:35
You need to write your custom model

18th June 2011, 08:46
You could simple use the signals provided by the view and check in the corresponding slot if the last row has been filled out and then just append a row.

24th June 2011, 14:43
What would the code look like to accomplish this?