Is that possible to highlight the new added row in jqGrid. The highlight effect is something like this Highlight Effect
So, when the new row is added, the row will be highlighted, that will make clear for user which record is the new one.
Many thanks!
You can select or highlight rows based on data using the queryCellInfo event or can also select a row using an external button click event. The queryCellInfo is triggered every time a request is made to access particular cell information, element and data.
jqGrid exposes a property rowNum where you can set the number of rows to display for each page.
Yes, I have used the following to briefly highlight a newly-added row. It produces a nice effect to let the user know there is new data, and sounds just like what you are looking for:
jQuery("#" + rowId, "#myGrid").effect("highlight", {}, 2000);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With