Writes a grid item data to archive.
This method writes a grid item data to archive. You can override this method in a derived class if you need to handle custom data.