Comments (3)
getRadioState
function return a radio state array, which is in the order of data records order(not row order).
If you want to get the radio state of row order, you need to use getCellCheckboxState API
in a loop.
from vtable.
getRadioState
function return a radio state array, which is in the order of data records order(not row order). If you want to get the radio state of row order, you need to usegetCellCheckboxState API
in a loop.
It's still a little bit counterintuitive, checking the radio means user wants to select the row and does something else with this record, but can not getRecordByCell
correctly. Thanks anyway for your advice.
from vtable.
const i = tableInstance.getRadioState('radioColumn') # original data index
# const record = tableInstance.getRecordByCell(0, i + 1)
const record = tableInstance.records[i] # original data records
got it!
from vtable.
Related Issues (20)
- [Feature] 表格编辑时,英文单词下面有波浪线,不知怎么设置,取消它,求大佬指教一下! HOT 4
- [Bug] style or headerStyle set autoWrapText not used in computeRowHeight logic
- [Bug] 空渲染, 导致迷你图事件失效.
- [Feature] 透视表 数据为空时支持展示角头
- [Bug] 透视分析表指标无法展示原始值 HOT 2
- [Feature] 提供一个接口支持使用位置获取对应位置的单元格,考虑锁定单元格和滚动
- [Bug] drill down icon can not click
- [Feature] 增加旭日图透视图
- [Bug] 使用数据懒加载后自定义icon中使用了width这类属性后导致渲染不出来
- [demo] use `customLayout` to complete one gantt demo
- [Feature] PivotTable's corner can support customRender customLayout
- [Feature] select multiple rows when click checkbox HOT 1
- [demo] write pictographic statistical tables demo
- [Bug] getCellRange api error HOT 1
- [Bug] PivotChart indicatorsAsCol为true时数据显示反了 HOT 1
- [Feature] 是否可以提供新的参数固定rowSeriesNumber序号列的列宽?
- [Bug] when drag select cells,and mouse position beyond the top of the table, console occur error
- [refactor] rowTree or columnTree set children false or [] not supplement indicators
- [Feature] 角表头配置:corner的titleOnDimension属性设置提供同时设置row和column
- [Bug] columns[].headerType = checkbox | video | image 开启showFrozenIcon 没有显示
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vtable.