For the rows not displayed in a grid, the switch state is always initialize

For the rows not displayed in a grid, the switch state is always initialize on the client side as ON. Instead on the server side the boolean value of the pojo class is correct.