Hi Vidhya,
Just view the opensource of Editable Flexgrid from wbcsoftwarelab, which I use. Hope your doubts are cleared....