I have a need to fill an entire static height div with this grid, even if the entire grid only has 1 record to show. I am attaching an example to show what I mean. Basically, I need the grid to fill the whole div, no matter how many records are showing, and still show the odd/even rows, even if they are blank.
The only solution is to fill your grid with empty rows.
you may use the addRow() method to add new row and you can use the getRowsNum() method to get the number of records in your grid.