@progress/kendo-vue-grid
Version:
43 lines (42 loc) • 1.15 kB
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { defineComponent as r, inject as i, createVNode as l } from "vue";
import { TableSelection as o } from "@progress/kendo-vue-data-tools";
const s = /* @__PURE__ */ r({
name: "GridTable",
inheritAttrs: !1,
props: {
selectable: Object,
tableClassName: String
},
setup(t, {
slots: e
}) {
const {
selectionRelease: n
} = i("gridContext", {});
return () => l(o, {
selectable: t.selectable,
onRelease: n
}, {
default: () => {
var a;
return [l("table", {
style: {
tableLayout: "fixed"
},
role: "none",
class: t.tableClassName
}, [(a = e.default) == null ? void 0 : a.call(e)])];
}
});
}
});
export {
s as GridTable
};