javascriptjquerymvcjqgrid

How to sort the jqGrid without considering the last blank row


I have a jqGrid where there is a blank row added in the end.

I need to sort the grid without considering the last blank row.

How can I achieve ? Kindly help.

enter image description here


Solution

  • give some id to blank row say -1. On LoadComplete function check for blank row id is present or not before adding.