When I iterate over grid.selection parameter (widget dgrid**) then it just gives me first value inside grid.selection and then it becomes null also the selection inside grid is getting lost. How can I avoid this? Is there any parameter through which I can avoid this behavior?
**http://www.sitepen.com/blog/2011/10/26/introducing-the-next-grid-dgrid/