diff --git a/examples/js/column-format/extra-data-column-format-table.js b/examples/js/column-format/extra-data-column-format-table.js index fc9e84770..68c3f6e88 100644 --- a/examples/js/column-format/extra-data-column-format-table.js +++ b/examples/js/column-format/extra-data-column-format-table.js @@ -9,11 +9,11 @@ var qualityType = { 0: "good", 1: "bad", 2: "unknown" -} +}; var inStockStatus = { 1: "yes", 2: "no" -} +}; function addProducts(quantity) { var startId = products.length; @@ -34,20 +34,10 @@ function enumFormatter(cell, row, enumObject){ return enumObject[cell]; } -var cellEditProp = { - mode: "click", - blurToSave: true -}; - export default class ExtraDataColumnFormatTable extends React.Component{ render(){ - var optionValues = []; - $.map(inStockStatus, function(value, index) { - optionValues.push(index); - }); - return ( - + Product ID Product Name Product Quality @@ -55,4 +45,4 @@ export default class ExtraDataColumnFormatTable extends React.Component{ ); } -}; \ No newline at end of file +};