Code is based on Code Given from 
http://kapo-cpp.blogspot.com/2008/04/create-custom-celleditable-for.html