implementing custom gridview