Fix: Check condition for data array. The data.length is not correct, since we can have empty array.
Fix: Check condition for data array. The data.length is not correct, since we can have empty array.

javapark/jqgrid