diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example03.ts b/examples/vite-demo-vanilla-bundle/src/examples/example03.ts
index 7caf7a1df..25fb7e5f5 100644
--- a/examples/vite-demo-vanilla-bundle/src/examples/example03.ts
+++ b/examples/vite-demo-vanilla-bundle/src/examples/example03.ts
@@ -223,10 +223,10 @@ export default class Example03 {
}
},
{
- id: 'action', name: 'Action', field: 'action', width: 100, maxWidth: 100,
+ id: 'action', name: 'Action', field: 'action', width: 90, maxWidth: 90,
excludeFromExport: true,
formatter: () => {
- return `
Action ▼
`;
+ return `Action
`;
},
cellMenu: {
hideCloseButton: false,
diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example04.scss b/examples/vite-demo-vanilla-bundle/src/examples/example04.scss
index 3f3ecf975..030f66285 100644
--- a/examples/vite-demo-vanilla-bundle/src/examples/example04.scss
+++ b/examples/vite-demo-vanilla-bundle/src/examples/example04.scss
@@ -1,4 +1,23 @@
// @import '@slickgrid-universal/common/dist/styles/sass/slickgrid-theme-material.scss';
.orange {
color: orange;
+}
+
+.cell-menu-dropdown {
+ border: 1px solid #a3a3a3;
+ border-radius: 5px;
+ display: flex;
+ align-items: center;
+ height: 90%;
+ width: max-content;
+ padding: 0 12px;
+ cursor: pointer;
+ &:hover {
+ background-color: #a3a3a3;
+ color: #ffffff;
+ }
+
+ .mdi-chevron-down {
+ margin-left: 5px;
+ }
}
\ No newline at end of file
diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example04.ts b/examples/vite-demo-vanilla-bundle/src/examples/example04.ts
index 12ac82a91..ae0a6b4c0 100644
--- a/examples/vite-demo-vanilla-bundle/src/examples/example04.ts
+++ b/examples/vite-demo-vanilla-bundle/src/examples/example04.ts
@@ -294,9 +294,7 @@ export default class Example04 {
{
id: 'action', name: 'Action', field: 'action', width: 100, maxWidth: 100,
excludeFromExport: true,
- formatter: () => {
- return `Action ▼
`;
- },
+ formatter: () => ``,
cellMenu: {
hideCloseButton: false,
// you can override the logic of when the menu is usable
diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example18.html b/examples/vite-demo-vanilla-bundle/src/examples/example18.html
index 9a96bf863..84252f9ad 100644
--- a/examples/vite-demo-vanilla-bundle/src/examples/example18.html
+++ b/examples/vite-demo-vanilla-bundle/src/examples/example18.html
@@ -25,7 +25,7 @@
Changes Rate(ms)
-
+
@@ -44,13 +44,13 @@
Changes p/Cycle
-
+
to
-
+
Highlight Duration(ms)
-
+
diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example20.ts b/examples/vite-demo-vanilla-bundle/src/examples/example20.ts
index a1bcdb33f..877823ce8 100644
--- a/examples/vite-demo-vanilla-bundle/src/examples/example20.ts
+++ b/examples/vite-demo-vanilla-bundle/src/examples/example20.ts
@@ -32,11 +32,11 @@ export default class Example20 {
// not sure why but ShadowDOM seems a little slower to render,
// let's wrap the grid resize in a delay & show the grid only after the resize
- setTimeout(() => {
+ setTimeout(async () => {
this.sgb = new Slicker.GridBundle(shadowObj.gridContainer as HTMLDivElement, this.columnDefinitions, { ...ExampleGridOptions, ...this.gridOptions }, this.dataset);
- this.sgb.resizerService.resizeGrid(150);
+ await this.sgb.resizerService.resizeGrid(150);
shadowObj.gridContainer.style.opacity = '1';
- }, 50);
+ }, 75);
}
/**