Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
EditableTable save record onblur
Community
›
Forums
›
Technology & Integration
EditableTable save record onblur
New Post
New Post
Homero Figueiredo
Posted on 2016-06-16
Homero Figueiredo
Rank: #2998
Posted on 2016-06-16
Hi,
We're trying to save a record in an editabletable whenever the user leaves the row (even without clicking on the checkmark). We've tried using the onblur event (in the table) to no avail.
The main problem is that the editabletable is in a webblock, but the user submits the whole form from outside this webblock, and the information from the editabletable is not being saved.
Do you have any suggestions?
Manish Jawla
Posted on 2016-06-16
Manish Jawla
Rank: #345
Posted on 2016-06-16
Solution
Hi Homero,
Instead of editabletable, you can use normal tablerecord and use textbox for editable fields and on onchange event you can call the desired action.
Thanks,
MJ
Solution
Kilian Hekhuis
mvp_badge
mvp_label
Posted on 2016-06-16
Kilian Hekhuis
mvp_badge
mvp_label
Rank: #9
Posted on 2016-06-16
Solution
Hi Homero,
You really should bug your collegues to fix all these annoying Editable Table bugs :). That said, this doesn't seem like a bug. You are trying to save on an onblur, because you put the data in a web block, and don't have the Save button in the web block. That seems to me a design failure :).
Did you check out the
Event System
Forge component? You may be able to send an event from the Save button's handler to the web block, so you can save in there.
Solution
Homero Figueiredo
Posted on 2016-06-16
Homero Figueiredo
Rank: #2998
Posted on 2016-06-16
Solution
Hi, thanks for your comments, we are actually going with a solution similar to MJ's, but instead of having a normal table record, we will catch the onchange event on the text inputs inside the editabletable.
Also thanks Kilian for the headsup on the Event System, we might consider it in future develoments.
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...