Hello everyone :) I have a data table which is editable. Near each record there are 2 buttons: edit and delete. I am using recordset in order to fill the table with some data, but the data i am taking it actually from a data base. My problem is for example: when I push the delete button, it deletes the entry from the database, but the user still can see it on the page, so i need to stop the process and start it again to have the updated values. How this issue can be fixed or any suggestion/approach would be fine :) asked 14.12.2016 at 15:12 tano9321 Flavio Sadeghi ♦♦ |
There exists the example EditableTable in the project WorkflowDemos. It shows exactly your use case. In addition, your process has to delete the record in the Database too, not only in the Recordset. So the delete-button deletes the record in the recordset and in the database. Instead of deleting the record in the Recordset you could reload the data from the database to get the updated data. Also ensure that the delete-button has set a correct update attribute. The defined id there references to the component which has to be updated after the action. Otherwise the UI gets not updated. answered 14.12.2016 at 17:19 Flavio Sadeghi ♦♦ it worked in this way, thank you so much :)
(15.12.2016 at 07:17)
tano9321
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 14.12.2016 at 15:12
Seen: 2,144 times
Last updated: 15.12.2016 at 07:17