rowSelectionTypestring'checkbox'选择行类型, 可选值:'checkbox'、 'radio' rowExpandbooleanfalse是否可展开行 expandConfigobject展开行配置 disabledRowsobject禁用行配置 dragSortbooleanfalse是否可拖拽排序(有固定列的情况下无法拖拽排序,仅可上下排序) insertRowbooleantrue2024-10-15是否允许插入一行(在有拖拽排序列...
539 * 用于 type=checkbox,手动清空用户的选择 540 */ 541 clearCheckboxRow(): Promise<any>; 542 /** 543 * 用于 highlight-current-row,设置某一行为高亮状态 544 * @param row 指定行 545 */ 546 setCurrentRow(row: RowInfo): Promise<any>; 547 /** 548 * 用于 type=radio,判...
这个需求解决了什么问题: 非手动操作checkbox,清除选中状态 建议的 API 是什么样的: clearCheckboxRow([rowKey1,rowKey2]), 不传入则清空全部 是否已有其他不错的替代方案: No response
'getCheckboxRecords', 'getParentRow', 'getTreeParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'getFullData', 'setColumnFixed', 'clearColumnFixed', 'setColumnWidth', 'getColumnWidth', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalc...
vxe-table是一个基于Vue的表格组件库,它提供了丰富的表格功能,包括复选框(checkbox)功能。复选框允许用户在表格中选中或取消选中多行数据,这在需要对数据进行批量操作时非常有用。 2. 演示如何在vxe-table中添加复选框功能 要在vxe-table中添加复选框功能,你需要在<vxe-grid>组件中配置checkbox-config属...
512 setAllCheckboxRow(checked: boolean): Promise<any>; 513 /** 514 * 用于 radio-config.reserve,获取已保留选中的行数据 515 */ 516 getRadioReserveRecord(isFull?: boolean): RowInfo[]; 517 /** 518 * 用于 radio-config.reserve,手动清空用户保留选中的行数据 519 */ 520 clearRadio...
触发时机:当行被选中或取消选中时触发 携带参数: type:选中类型 radio:单选 checkbox:多选 action:选中操作 selected:选中 unselected:取消选中 selected-all:全选 row:当前操作的行(全选时没有该参数) selectedRows:所有被选中的行 selectedRowIds:所有被选中的行的ID $event:原生事件 pageChange ...
checkbox:多选 action:选中操作 selected:选中 unselected:取消选中 selected-all:全选 row:当前操作的行(全选时没有该参数) selectedRows:所有被选中的行 selectedRowIds:所有被选中的行的ID $event:原生事件pageChange触发时机:当分页参数被改变时触发 携带参数: current:当前页码 pageSize:当前页大小value...
export interface RadioChangeEventParams<D = VxeTableDataRow> extends TableEventParams<D>, RadioChangeParams<D> { } export interface CheckboxChangeParams<D = VxeTableDataRow> extends TableBaseCellParams<D> { checked: boolean 0 comments on commit b15e78b Please sign in to comment. Footer...
.vxe-checkbox--icon { left: #{$interval + 0.6}em; } } .vxe-table-custom--header, .vxe-table-custom--body { list-style-type: none; overflow-x: hidden; overflow-y: auto; margin: 0; padding: 0; user-select: none; & > li { max-width: 18em; min-width: 14em; padding: 0.2em...