How can I call a Javascript function after data binding is completed ?

I have already tried EndCallback but it doesnot work when the Grid is loaded for the first time because I use RenderAction to display the partialview which contains gridview.