@3mo/data-grid 0.12.6-preview.2 → 0.12.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/columns/DataGridColumnDeletion.d.ts +6 -2
- package/dist/columns/DataGridColumnDeletion.d.ts.map +1 -1
- package/dist/columns/DataGridColumnDeletion.js +10 -6
- package/dist/custom-elements.json +4690 -7
- package/dist/rows/DataGridRow.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/rows/DataGridRow.js
CHANGED
|
@@ -277,7 +277,7 @@ export class DataGridRow extends Component {
|
|
|
277
277
|
async clickOnPrimaryContextMenuItemIfApplicable() {
|
|
278
278
|
if (this.dataGrid.hasContextMenu === true && this.dataGrid.primaryContextMenuItemOnDoubleClick === true) {
|
|
279
279
|
await this.openContextMenu();
|
|
280
|
-
ContextMenu.openInstance?.items.find(item => item instanceof DataGridPrimaryContextMenuItem)?.click();
|
|
280
|
+
ContextMenu.openInstance?.items.find(item => item instanceof DataGridPrimaryContextMenuItem && !item.disabled)?.click();
|
|
281
281
|
await this.closeContextMenu();
|
|
282
282
|
}
|
|
283
283
|
}
|