Depends on your row id. If it does not work, your first id is not 1.
Look at this website for your answer:
Take a second look at your SQL query, the error says it all. You are not allowed to have a LIMIT with a negative number, which is your case. You start with LIMIT -10, 10, instead of LIMIT 0,10.
Had the same problem as well. After some hours found the following solution:
Snippet of my grid code (part of this found somewhere on the internet):
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS