adjusted to API change #24
made XGridCell an interface #24