grid written in knockout and typescript