node-red-node-ui-table
Advanced tools
Comparing version 0.4.0 to 0.4.1
12
node.js
@@ -209,7 +209,3 @@ /** | ||
if ((outputs > 0) && !opts.hasOwnProperty('cellClick')) { // default cellClick if not already defined by ui_control | ||
opts.cellClick = function(e, cell) { | ||
$scope.send({topic:cell.getField(), payload:cell.getData(), row:(cell.getRow()).getPosition()}); | ||
}; | ||
} | ||
//turn autoColumns off if opts.columns is array with length > 0 | ||
@@ -224,2 +220,8 @@ if (opts.columns && Array.isArray(opts.columns) && opts.columns.length>0) { | ||
$scope.table = new Tabulator(basediv, opts); | ||
if ((outputs > 0) && !opts.hasOwnProperty('cellClick')) { // default cellClick if not already defined by ui_control | ||
$scope.table.on("cellClick", function(e, cell) { | ||
$scope.send({topic:cell.getField(), payload:cell.getData(), row:(cell.getRow()).getPosition()}); | ||
}); | ||
} | ||
}; | ||
@@ -226,0 +228,0 @@ $scope.init = function (config) { |
{ | ||
"name": "node-red-node-ui-table", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Table UI widget node for Node-RED Dashboard", | ||
@@ -5,0 +5,0 @@ "author": "Kazuhito Yokoi", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1722231
23
27543