Hi,
I have a ListGrid connected to a RestDataSource and with a button that calls grid.removeSelectedData().
The issue here is that some of the rows should not be removed and this verification is done on server-side.
I am returning this:
{code}{"response":{"status":-4,"errors":"Test message"}}{code}
Listgrid doesn't remove the row, but it doesn't show anything which is kind of confusing for the user.
Is it possible to show the error message in a isc.warn() or something like this. This way user will know the reason why the row wasn't removed.
Thanks!
I have a ListGrid connected to a RestDataSource and with a button that calls grid.removeSelectedData().
The issue here is that some of the rows should not be removed and this verification is done on server-side.
I am returning this:
{code}{"response":{"status":-4,"errors":"Test message"}}{code}
Listgrid doesn't remove the row, but it doesn't show anything which is kind of confusing for the user.
Is it possible to show the error message in a isc.warn() or something like this. This way user will know the reason why the row wasn't removed.
Thanks!