GithubHelp home page GithubHelp logo

功能建议 about zb-table HOT 4 OPEN

zouzhibin avatar zouzhibin commented on July 19, 2024
功能建议

from zb-table.

Comments (4)

zouzhibin avatar zouzhibin commented on July 19, 2024

1、新增、编辑、删除操作建议放在表格头部,以tools插槽的方式自定义样式等。 2、希望支持数据格式化方法,类似formatter(value,index,row){}方式格式化数据展示。

感谢你的建议:已经支持数据格式化方法 增加 formatter(value,index,row){}方法

from zb-table.

jxfsuda avatar jxfsuda commented on July 19, 2024

我觉得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.

kaimzhou avatar kaimzhou commented on July 19, 2024

希望支持单元合并~

from zb-table.

wenqing-SG avatar wenqing-SG commented on July 19, 2024

喜欢单击行可以有column参数

from zb-table.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.