Grid selection

client side - sending request
server side - building query