8/31/2023 0 Comments Ig grid app![]() The follow up is “can you please add one”. The ask is “Is there an option for IG to send all the rows on save”. The first solution that typically comes to mind is to send all the rows. This is not a flaw with IG but rather the result of trying to apply it to a use case that it wasn’t designed for. The server can only validate what it is sent. What if the user doesn’t correct all the errors or at least edit all the rows that have errors. The issue people run into is that IG only sends rows that have been edited to the server. For IG this is when the page is submitted or in an ajax request when the IG is saved. APEX only does validation when the data is submitted. APEX has room for improvement in this area. Validation can also be done on the client as a UX optimization. APEX does this well with many fully declarative validation options. For all web apps the server must validate all incoming data. So in this use case the data to display and edit in the IG may not be valid or complete. For background search this site for other posts about IG. This is an advanced topic for people familiar with Interactive Grid and its related components and APIs. It only needs the EMP/DEPT sample data set installed and APEX version 21.2 or greater. If this use case interests you or even if you just want to learn more about client side validation and interactive grid you should download the IG Validate app. This came up again recently with a customer and it motivated me to work up a sample app to demonstrate some possible solutions. A few times I have seen people ask about a different use case where the data comes from some external source and may not be valid. The form or grid displays valid data for the user to enter/edit and validation is done when the page is submitted. This is no different from an APEX form page. The editable Interactive Grid is intended to edit data that is already valid.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |