Actually i solved the problem. It was because the idField of the table i was using was incorrect. it appears that the getSelections uses the idField property so you need to make sure that the idField is actually the same as the one passed in the json…