I need to be able to provide edit(update) and delete capabilities with IgniteUI Grid (igGrid) based on a permission set.
Grid presents a user with a list of addresses. UI should present Edit/Delete options (on the grid itself) for ONLY rows that the user has added to the list. Other rows would be read only. Is this possible at all with igGrid?
I'm able to build a grid with basic editing api events as shown here: http://www.igniteui.com/grid/editing-api-events
I need to be able to restrict Update/Delete capabilities for ONLY rows I've entered.
Hi Vivian,
Returning false from events doesn't seem to be perfect solution from UI perspective, is there way to make that row non editable i.e. it should not show delete button.
Thanks & Regards,
Manjunath M
Hello Tanmay,
I am just following up and see if you have any questions.
Thank you for contacting Infragistics!
It is possible to restrict the Update/Delete capabilities of the igGrid for only the rows entered. Although there is no option to make the row readonly, the events triggered during a delete or an update may be cancelled by returning false on the event handler. For example, the delete process triggers RowDeleting event. Within its handler you may return false and the delete process is cancelled. You may do the same for update on EditRowStarting event.
The rows that have been entered may be found within the list of transactions allTransactions() method returns.
If you have any questions, please let me know as well.