Rounded total pages up with Math.ceil

I had a problem with not being allowed to see the last page of rows. I had 14 total rows, showing 10 per page. When doing the math, you get 1.4 and I suppose the original code was saying that was one page. I added the javascript Math.ceil function to round up to 2 pages and it solved my problem.
Merge pull request #4 from kooliokey/master

Proposed bug fix to grid.js
Merge branch 'master' of github.com:optikalefx/OpenJS-Grid
can now pass array for select, so you can call your select function in a class
Rounded total pages up with Math.ceil

I had a problem with not being allowed to see the last page of rows. I had 14 total rows, showing 10 per page. When doing the math, you get 1.4 and I suppose the original code was saying that was one page. I added the javascript Math.ceil function to round up to 2 pages and it solved my problem.
can now pass array for select, so you can call your select function in a class
fixed firefox search button
update index.html a bit
Fixed deleteRow, was deleting 2 rows
Merge branch 'master' of github.com:optikalefx/OpenJS-Grid