appendGrid can detect empty rows based on the assigned
value on emptyCriteria property of each column. You can define a function to check
the value as empty, too. So, you can remove the empty rows before submit the grid
data for further processing.
Show Source Code
Download Sample