ant-design-vue/components/vc-table/src/Column.jsx

18 lines
488 B
Vue
Raw Normal View History

2019-01-12 03:33:27 +00:00
import PropTypes from '../../_util/vue-types';
2018-03-24 14:02:24 +00:00
export default {
name: 'Column',
props: {
colSpan: PropTypes.number,
title: PropTypes.any,
dataIndex: PropTypes.string,
2019-01-12 03:33:27 +00:00
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
fixed: PropTypes.oneOf([true, 'left', 'right']),
2018-04-01 04:52:27 +00:00
customRender: PropTypes.func,
2018-03-31 09:46:35 +00:00
className: PropTypes.string,
2018-03-24 14:02:24 +00:00
// onCellClick: PropTypes.func,
2018-04-04 02:29:42 +00:00
customCell: PropTypes.func,
2018-03-31 09:46:35 +00:00
customHeaderCell: PropTypes.func,
2018-03-24 14:02:24 +00:00
},
2019-01-12 03:33:27 +00:00
};