You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: partial/examples/examples.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ <h4>Settings</h4>
13
13
enabled:true, // should column be enabled (required for filters to work)
14
14
sort:'false', // should column be sortable
15
15
sortOrder:0, // sort order of column, 0 will be sorted first
16
-
columnOrder:0 // column order, starting from the left with zero,
16
+
columnOrder:0, // column order, starting from the left with zero
17
17
export:false // should column be exported to CSV (OPTIONAL)
18
18
}]
19
19
</code>
@@ -32,7 +32,7 @@ <h4>Field definitions</h4>
32
32
value: function(row,column){ return row[column]/2;} // custom function for column value if no data exists for column in data array (OPTIONAL),
33
33
click: function(){ return console.log('column clicked);} // click function for column (OPTIONAL),
34
34
expand: "<my-directive></my-directive>" // expand (open/close) row when clicked and add this as content (could be a directive or plain html) (OPTIONAL),
35
-
export: function(row,column){ return '<span>'+row[column]+'</span>';} // custom function for export presentation (OPTIONAL),
35
+
export: function(row,column){ return parseFloat(row[column]);} // custom function for export presentation (OPTIONAL),
36
36
search: false // should field be searchable, true or false, true by default (OPTIONAL)
0 commit comments