A Grid Editor is next after the code of [display] is fully debugged. It's been on my TODO since early 2001 (!!!) but I didn't nearly have the means to create it nearly as easily as now.
have you tried tktable? you can make a pretty fully featured grid editor in about 10 lines..