tags:

views:

180

answers:

1

Be default, jqgrid only shows up 6 rows, I want to make it accomodate 20 rows. How should I set up? Thanks in advance.

A: 

It has height parameter you can use. Its default value is "auto". Also set scrollOffset:0, if you know that the records would fit in to a single page.

Could you please provide code sample or more detail? how to set height parameter? Appreciate it!
Take a look at the samples at the following.http://www.trirand.com/jqgrid/jqgrid.htmlGo to New in version 3.5 -> Grid View Mode It shows how to use height parameter and rownum parameters to show more than default number of rows