Hi All,
I m a beginner in appian. As part of my request, I need to build a editable grid with record data rule input. I have 5 fields totally and I need to display them. Can someone help me how to configure edit button and add button and what actions I need to perform to save or update the values to the rule input. And i should add only one row at a time and all the fields in grid are mandatory. Can someone help me with the code.
Discussion posts and replies are publicly visible
There are various recipes in the official documentation: https://docs.appian.com/suite/help/25.1/Editable_Grid_Component.html#record-type-example
Have you tried anything already and/or having any particular trouble?
Mike Schmitt I have tried this. I m able to get the data populated in the grid. But I m stuck at how to configure the add , edit and save buttons
Where are you stuck? Maybe this recipe gives you some inspiration: docs.appian.com/.../recipe-add-edit-and-remove-data-in-an-inline-editable-grid.html
Everytime when i edit add new row gets added into database. The above receipe i m not able to find configuring edit
Ensure that when you are editing, the primary key id column value is not overwritten. If originally id was 2 then after edit operation and submits also the id for that row still be 2. If it goes null somewhere then you will find a new row in database instead of the original row being updated. So look out for the 'id' column value in your interface and process.
https://youtu.be/z0FF9aCZRBE?feature=sharedCHECKOUT THIS VIDEO AVAILABLE ON APPIAN COMMUNITY YOUTUBE CHANNEL
reenab0003 said:Everytime when i edit add new row gets added into database
Without seeing the code you're attempting to use, it's hard to guess at a fix, fwiw.