Open traveler-h opened 6 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: After setting the reserve attribute of select-config in the grid table, you can see the checked status before turning the page. However, when getting the value through getSelectRecords(), you cannot get the check status. The value checked before the page
@traveler-h 目前getSelectRecords
是获取当前表格数据中已选中数据,如果需要获取选中数据目前可以同步grid.value.selection
获取,我们后续评估是否要提供获取配置了reserve后的selection
方法
Bot detected the issue body's language is not English, translate it automatically.
@traveler-h Currently,
getSelectRecords
is used to obtain the selected data in the current table data. If you need to obtain the selected data, you can currently obtain it synchronously withgrid.value.selection
. We will subsequently evaluate whether to provideselection
after configuring reserve. method
Version
~3.11.0
Vue Version
latest
Link to minimal reproduction
grid.value.getSelectRecords()
Step to reproduce
<tiny-grid row-id="id" ref="grid" :select-config="selectConfig" :fetch-data="fetchData"
What is expected
No response
What is actually happening
No response
What is your project name
https://github.com/opentiny/tiny-vue/
Any additional comments (optional)
No response