PDA

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



rdjenner
17th June 2011, 15: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, 17:35
You need to write your custom model

Lykurg
18th June 2011, 07: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.

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