File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ Figure 1 shows a view form with a custom-rendered field type.
86
86
87
87
88
88
89
- ![ Custom client-side rendered field in a View form] ( ../../images/CSRFieldType_result.png )
89
+ ![ Custom client-side rendered field in a View form] ( ../../images/CSRFieldType_result.png )
90
90
91
91
92
92
@@ -227,8 +227,7 @@ namespace Microsoft.SDK.SharePoint.Samples.WebControls
227
227
228
228
229
229
230
- XML
231
-
230
+ ``` XML
232
231
<?xml version =" 1.0" encoding =" utf-8" ?>
233
232
<FieldTypes >
234
233
<FieldType >
246
245
<Field Name =" ShowOnColumnTemplateCreate" >TRUE</Field >
247
246
</FieldType >
248
247
</FieldTypes >
249
-
248
+ ```
250
249
251
250
252
251
### To add a JavaScript file for the rendering logic of the custom field type
271
270
272
271
273
272
274
-
273
+ ```
275
274
(function () {
276
275
var favoriteColorContext = {};
277
276
@@ -296,7 +295,7 @@ function favoriteColorViewTemplate(ctx) {
296
295
return "<span style='background-color : " + color +
297
296
"' >&nbsp;&nbsp;&nbsp;&nbsp;</span>&nbsp;" + color;
298
297
}
299
-
298
+ ```
300
299
301
300
302
301
### To build and run the solution
@@ -318,7 +317,7 @@ function favoriteColorViewTemplate(ctx) {
318
317
319
318
320
319
321
- ![ Creating a new custom field type column] ( ../../images/CSRFieldType_addcolumn.png )
320
+ ![ Creating a new custom field type column] ( ../../images/CSRFieldType_addcolumn.png )
322
321
323
322
324
323
You can’t perform that action at this time.
0 commit comments