qxtang / taro3-table Goto Github PK
View Code? Open in Web Editor NEW基于 Taro3 的微信小程序端多功能表格组件
Home Page: https://www.npmjs.com/package/taro3-table
基于 Taro3 的微信小程序端多功能表格组件
Home Page: https://www.npmjs.com/package/taro3-table
.taro3table .taro3table_table .taro3table_body>.taro3table_row>.taro3table_col {
min-height: 120rpx;
}
怎么在父组件里修改啊, 使用:global修改无效
请教大佬这个怎么解决啊
"dependencies": {
"@babel/runtime": "^7.7.7",
"@tarojs/cli": "3.1.4",
"@tarojs/components": "3.1.4",
"@tarojs/react": "3.1.4",
"@tarojs/runtime": "3.1.4",
"@tarojs/taro": "3.1.4",
"bluebird": "^3.5.5",
"crypto-js": "^4.0.0",
"dayjs": "^1.10.4",
"entities": "^1.1.2",
"jsencrypt": "^3.1.0",
"lodash": "4.17.15",
"mammoth": "^1.4.16",
"query-string": "^4.3.4",
"react": "^17.0.0",
"react-doc-viewer": "^0.1.5",
"react-dom": "^17.0.0",
"react-redux": "^7.2.3",
"react-transition-group": "^4.4.1",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"taro-ui": "^3.0.0-alpha.10",
"taro3-table": "^1.0.25",
"weixin-js-sdk": "^1.6.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@tarojs/mini-runner": "3.1.4",
"@tarojs/webpack-runner": "3.1.4",
"@types/react": "^17.0.2",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"babel-preset-taro": "3.1.4",
"eslint": "^6.8.0",
"eslint-config-taro": "3.1.4",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^4.2.0",
"js-image-compressor": "^1.3.4",
"stylelint": "9.3.0",
"typescript": "^4.1.0"
}
const addData = async () => {
setLoading(true);
const data = await getData();
const list = dataSource.concat(data)
setDataSource(list);
setLoading(false);
return data;
};
如何才能在当前滚动的位置,而不回到顶部啊?
初始化定义列表头之后,动态生成重新render不能把列表头设置进去,对应数据也显示不出来
<Table
columns={headers}
dataSource={data}
rowKey='id'
style={{
margin: '0 auto',
width: '95vw'
}}
/>
我提了一个PR, 把 Row 放在 Table 外面定义, 可以避免这个问题, 方便的话帮忙更新一下版本吧 #17
文档里面有句话:项目需支持 typescript、css module
如果原来是javascript的语法,怎么来使用本组件?
如题
表头如何固定?
想要点击列表的每一行到详情页
.taro3table .taro3table_table .taro3table_body>.taro3table_row>.taro3table_col text 这个不要用后代选择器啊。用
支持合并单元格和多级表头吗?
虚拟列表怎么使用
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.