test drag stop propagation, agregar opcion conteo, pero no es default

This commit is contained in:
dehernandezm 2024-12-20 13:14:45 -06:00
parent fe0b18d15e
commit b147a12df7
5 changed files with 17 additions and 5 deletions

View File

@ -485,7 +485,19 @@ var PivotTableUI = function (_React$PureComponent2) {
},
tag: 'td',
className: classes,
onChange: onChange
onChange: onChange,
onDrag: function onDrag(event) {
event.stopPropagation();event.preventDefault();
},
onDragCapture: function onDragCapture(event) {
event.stopPropagation();event.preventDefault();
},
onDragStart: function onDragStart(event) {
event.stopPropagation();event.preventDefault();
},
onDragEnd: function onDragEnd(event) {
event.stopPropagation();event.preventDefault();
}
},
items.map(function (x) {
return _react2.default.createElement(DraggableAttribute, {

File diff suppressed because one or more lines are too long

View File

@ -485,7 +485,7 @@ aggregatorTemplates.stdev = function (ddof, f) {
// default aggregators & renderers use US naming and number formatting
var aggregators = function (tpl) {
return {
// Count: tpl.count(usFmtInt),
Conteo: tpl.count(usFmtInt),
// 'Count Unique Values': tpl.countUnique(usFmtInt),
// 'List Unique Values': tpl.listUnique(', '),
Suma: tpl.sum(usFmt),

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "v-react-pivottable",
"version": "0.11.10",
"version": "0.11.11",
"description": "A React-based pivot table",
"main": "PivotTableUI.js",
"files": [