You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/src/docs/en/ve-table/api/db.js
+29-1Lines changed: 29 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,7 @@ export const db = {
225
225
{
226
226
param: "virtualScrollOption",
227
227
desc: "Virtual scroll configuration, it is recommended to display more than 1000 rows at a time.Refer to virtualScrollOption configuration for details",
228
-
type: "<code>Boolean</code>",
228
+
type: "<code>Object</code>",
229
229
optionalVal: "-",
230
230
default: "-",
231
231
},
@@ -250,6 +250,13 @@ export const db = {
250
250
optionalVal: "-",
251
251
default: "-",
252
252
},
253
+
{
254
+
param: "contextmenuBodyOption",
255
+
desc: "contextmenu configuration,Refer to contextmenuBodyOption",
256
+
type: "<code>Object</code>",
257
+
optionalVal: "-",
258
+
default: "-",
259
+
},
253
260
{
254
261
param: "eventCustomOption",
255
262
desc: `Custom event configuration,Refer to eventCustomOption configuration for details`,
@@ -894,6 +901,27 @@ export const db = {
894
901
columns: columnsType1,
895
902
},
896
903
904
+
// 右键菜单配置
905
+
contextmenuBodyOption: {
906
+
data: [
907
+
{
908
+
param: "callback",
909
+
desc: `The callback of the right-click menu item.<code>type</code>menu type,<code>selection </code>Currently selected cell`,
0 commit comments