-
+
@@ -177,6 +173,7 @@
[];
+ export let collapsedLeftColumnStore;
// export let generalAllowSave = false;
export const activator = createActivator('DataGridCore', false);
@@ -565,6 +567,7 @@
function handleGridMouseDown(event) {
if (event.target.closest('.buttonLike')) return;
if (event.target.closest('.resizeHandleControl')) return;
+ if (event.target.closest('.collapseButtonMarker')) return;
if (event.target.closest('input')) return;
// event.target.closest('table').focus();
@@ -991,7 +994,12 @@
data-row="header"
data-col="header"
style={`width:${headerColWidth}px; min-width:${headerColWidth}px; max-width:${headerColWidth}px`}
- />
+ >
+ collapsedLeftColumnStore.update(x => !x)}
+ />
+
{#each visibleRealColumns as col (col.uniqueName)}