I need to get the newly added row to blink for 3 seconds so the user can tell if his row was added successfully, and where that row is located
Changing the css class of that specific row did not work
Is there any way to get the id of the newly added row and then make it flash?
Hi DMandy,
I'm just following up to see if you need any further assistance with this issue. If so please let me know.
Hello DMandy,
You can access the newly added row when handling "rowAdded" client event.
1. Add to your code the event handler:
<Behaviors> <ig:EditingCore> <EditingClientEvents RowAdded="onRowAdded"></EditingClientEvents> </ig:EditingCore></Behaviors>
2. Then access the newly added row in the event handler:
<script> function onRowAdded (grid, eventArgs) { var newRow = eventArgs.get_row().get_element(); }</script>
// function onRowAdded (grid, eventArgs) { var newRow = eventArgs.get_row().get_element(); } // ]]>
From here you can manipulate the element in any way you want.If you need further assistance, please let me know.