File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
examples/sites/demos/apis
packages/vue/src/grid/src/dragger/src Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3544,6 +3544,9 @@ interface IDropConfig {
35443544 filter?: string
35453545 // 如果变动了树层级,可以指定是否需要刷新数据
35463546 refresh?: boolean
3547+ // 配置 filter 时,设置为 false 可以允许输入框正常聚焦
3548+ preventOnFilter?: boolean
3549+ // 更多其余参数请参考 sortablejs 插件配置
35473550 }
35483551 `
35493552 } ,
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export default {
88 const columnDropContainer = headerEl . querySelector ( '.tiny-grid__header .tiny-grid-header__row' )
99
1010 const columnDropOptions = {
11+ ...this . dropConfig ,
1112 handle : '.tiny-grid-header__column:not(.col__fixed)' ,
1213 filter,
1314 onEnd : ( event ) => {
@@ -76,6 +77,7 @@ export default {
7677 handle = '.tiny-grid-body__row>td.col__index>.row__drop-handle'
7778 }
7879 const rowDropOptions = {
80+ ...this . dropConfig ,
7981 handle,
8082 filter,
8183 onEnd : createHandlerOnEnd ( { _vm : this , refresh } ) ,
You can’t perform that action at this time.
0 commit comments