Grid selection update

Renamed the selection function from setSelectionListener to addSelectionListener, updated the related sample code and added a check for the eventType parameter ,if it is not set it gets set to "click"