implementing editable grid