I have a read only selection grid that contains records. I would like to select certain records and remove them from the grid, is this possible? How would I do it in the interface?
Discussion posts and replies are publicly visible
To remove the data from the read-only grid you need to remove it from the data the grid is using. Is your grid populated by a query, record type, or datasubset?
It is by record type, would the record type drop those records?
That really rather depends on your use case - what are you trying to have happen when you say "remove them from the grid"? Usually this would imply that those rows in the database are removed/deactivated, but if it's something else for your case then clarification would be helpful.
Yes, there are two options: individually delete rows or create a complex action to delete multiple rows. If you want to delete individually you should create a related action to 'Delete' or 'Archive' a record, then you can easily add the record action to the grid. This will work when only one row is selected. To have a bulk delete function, you should create a process model to take in multiple IDs and delete them or archive them (archive is always better than deletion). You can add a button above the grid and use a!startProcess() to kick off your process model when multiple rows are selected and the button is pressed.
It would be archiving it and not deleting it. Thanks Mike
© 2021 Appian. All rights reserved.