Cgridview In-Line Editing Not Working

I am using x-editable to use inline editing in CGridview. http://x-editable.demopage.ru/index.php Initially the CGridview is empty.On click of the button I am updating the CGridview. But when the content is loaded inside CGridview, x-editable is not working. The anchor tag has only one attribute "rel". The attribute "data-pk" is not there, and if I click the link it is not becoming textfield.The script is not getting loaded since the grid is initially empty. How can I make the script to get initially loaded?Is it possible to disable lazy loading?

Please help.