Wednesday 30 April 2014

SharePoint OnPostRender

SharePoint OnPostRender
When you add post render, you can hide _#= ctx.RenderGroups(ctx) =#_
Now how to add post render
AddPostRenderCallback(ctx, function()
{
});
Or
$addRenderContextCallback(ctx, “OnPostRender”, function () {
myCustomjsfunction(ctx);
});