diff --git a/src/main.less b/src/main.less index 9f96728..e836cbb 100644 --- a/src/main.less +++ b/src/main.less @@ -1,7 +1,9 @@ .qv-object-qlik-smart-pivot { @TableBorder: 1px solid #d3d3d3; @KpiTableWidth: 230px; - + .edit-mode{ + pointer-events: none; + } ._cell(@Width: 50px) { min-width: @Width!important; max-width: @Width!important; diff --git a/src/paint.jsx b/src/paint.jsx index e2bef20..2255a89 100644 --- a/src/paint.jsx +++ b/src/paint.jsx @@ -11,10 +11,10 @@ export default async function paint ($element, layout, component) { component, layout }); - + const editmodeClass = component.inAnalysisState() ? '' : 'edit-mode'; const jsx = ( -
+
-
+