Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SP.SOD.executeFunc("clienttemplates.js", "SPClientTemplates", function() {
- function init() {
- SPClientTemplates.TemplateManager.RegisterTemplateOverrides({
- // OnPreRender: function(ctx) { },
- Templates: {
- // View: function(ctx) { return ""; },
- // Header: function(ctx) { return ""; },
- // Body: function(ctx) { return ""; },
- // Group: function(ctx) { return ""; },
- // Item: function(ctx) { return ""; },
- // Fields: {
- // "<fieldInternalName>": {
- // View: function(ctx) { return ""; },
- // EditForm: function(ctx) { return ""; },
- // DisplayForm: function(ctx) { return ""; },
- // NewForm: function(ctx) { return ""; },
- // }
- // },
- // Footer: function(ctx) { return ""; }
- },
- // OnPostRender: function(ctx) { },
- //ListTemplateType: 100
- });
- }
- RegisterModuleInit(SPClientTemplates.Utility.ReplaceUrlTokens("~siteCollection/Style Library/test.js"), init);
- init();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement