Hi Rama,
Could you please provide some screen short then i can understand better..
here you want to provide the values under tree view as a input and whenever your clicking save button then those data will save to ztable right..
in this case go through this link you can edit the table view by using this link.. fallow same procedure for ur requirement too
Sample document for edit rows in dynamic result table view
Thanks & Regards,
Srinivas.