Comments (4)
1、新增、编辑、删除操作建议放在表格头部,以tools插槽的方式自定义样式等。 2、希望支持数据格式化方法,类似formatter(value,index,row){}方式格式化数据展示。
感谢你的建议:已经支持数据格式化方法 增加 formatter(value,index,row){}方法
from zb-table.
我觉得slot要好点, js里面混写标签,感觉蛮难受, 以下是我想自定义表头,需求需要里面花花绿绿,还要有按钮动态固定某一列.
同理, 数据行里面也要.
再接着问:
有没有合并列. 子表收缩/展开功能
<slot name="header" :item="item" :index="index" v-if="$slots.header"></slot>
<template v-else>
<template v-if="item.type==='selection'">
<view class="checkbox-item">
<tableCheckbox
:indeterminate="indeterminate" :checked="checkedAll" @checkboxSelected="checkboxSelectedAll"></tableCheckbox>
</view>
</template>
<template v-else>
{{ item.label }}
<view class="sorter-table" v-if="item.sorter">
<view :class="['sorter-table-icon',item.sorterMode==='_asc'&&`sorting${item.sorterMode||''}`]"></view>
<view :class="['sorter-table-icon',item.sorterMode==='_desc'&&`sorting${item.sorterMode||''}`]"></view>
</view>
</template>
</template>
from zb-table.
希望支持单元合并~
from zb-table.
喜欢单击行可以有column参数
from zb-table.
Related Issues (12)
- 微信小程序 的列宽参数width 设置失效 HOT 1
- 功能建议-禁止某一行选中
- 在苹果手机的微信上显示列表在向左拖动时表格会上下晃动 HOT 1
- 功能建议:
- 打成APP包后在手机上及其卡顿
- fixed和filters冲突 HOT 1
- 关于单元格文字超长的处理
- 安卓手机使用滚动时会出现延迟 HOT 1
- 功能建议
- 麻烦问下,固定表头或者固定首列应该怎么写 HOT 1
- app没有横向滚动条
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 zb-table.