mzhang-eric

Results 7 issues of mzhang-eric

复现步骤: 1. 打开官网示例 [官网示例-选择单元格](https://visactor.io/vtable/demo/interaction/select) 2. 使用如下代码 ``` let tableInstance; fetch('https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/North_American_Superstore_data.json') .then(res => res.json()) .then(data => { const columns = [ { field: 'Order ID', title: 'Order ID', width: 'auto' },...

bug
good first issue

### What problem does this feature solve? 在某些业务场景中,需要设置hover颜色显示的权重高于select,比如下面的场景: [飞书话题链接](https://applink.feishu.cn/client/message/link/open?token=AmU%2FQqHXB0ADZpSXlqAJgBw%3D) ![1721013806937](https://github.com/user-attachments/assets/40a22840-3a56-49c0-9d79-279ecccb9055) ![1721013809058](https://github.com/user-attachments/assets/3fcbb081-09ce-40f2-b8fb-7db1a977f789) ### What does the proposed API look like? 希望可以支持hover/select颜色配置undefined,可以降级获取颜色值

feature

复现步骤: 1. [方向键切换选中单元格](https://visactor.io/vtable/demo/interaction/arrowkeys-move-select) 使用上述官网示例,option配置如下 ``` const option = { records:data, columns, widthMode:'standard', frozenColCount:1, overscrollBehavior:'none', keyboardOptions:{ moveEditCellOnArrowKeys:true }, editor:'input-editor', // 设置表头不可选中 select: { disableHeaderSelect: true, }, }; ``` 2. 修改配置后,任意选中一个单元格,持续按向上方向键,当选中的单元格到达第一行之后,继续按向上键,此时选中状态消失,似乎表格也失去了焦点,按向下方向键,也没有反应 因此,在设置了表头不可选中时,按向上方向键到达第一行之后,此时再按向上键,是否应该停留在第一行?

### What problem does this feature solve? ListTable 的右键菜单在显示之后,只有在表格绘制区域点击鼠标左键才会消失,能否增加在空白处点击、在外部点击时 右键菜单消失的配置项,类似于 ListTable.select 中的配置项: ``` const option = { select: { // 点击空白区域取消选中 blankAreaClickDeselect: true, // 点击外部区域取消选中 outsideClickDeselect: true, }, }; ```...

good first issue
feature

### What problem does this feature solve? 我想要能够区分点击事件是否发生在下图B区域,比如 SELECT_CLEAR 事件触发时我想知道是点击了A区域(outside) 还是B区域(blank Area),又比如我想实现点击A外部区域隐藏右键菜单,而点击B空白区域的时候不隐藏。 但我现在似乎没有办法确定发生在B区域的鼠标点击事件。 ![windexport_1720403629359](https://github.com/VisActor/VTable/assets/20263432/c2dc5b81-ef5b-4c11-a929-a817d1d88ac1) ### What does the proposed API look like? 希望能够提供canvas绘制空白处的点击事件监听

feature

### What problem does this feature solve? 目前ListTable.menu推荐使用html渲染模式,contextMenuItems 中可以传入 MenuListItem,其定义如下: ``` type MenuListItem = | string | { text?: string; type?: 'title' | 'item' | 'split'; menuKey?: string; icon?: Icon;...

good first issue
feature

### What problem does this feature solve? 当设置单元格选中响应模式为整行高亮时,选中单个单元格时,所在行会出现高亮样式,但通过Ctrl Shift 快捷键或鼠标框选选中多个单元格,行的高亮状态不存在了,selectionStyle.inlineRowBgColor 没有生效。 ``` const option = { select: { highlightMode: 'row' }, selectionStyle: { cellBgColor: 'rgba(0, 174, 199, 0.2)', cellBorderLineWidth: 1,...

good first issue
feature