Grid OnClick implemented. View and controller separated.