update table demos

This commit is contained in:
afc163 2015-07-15 10:47:47 +08:00
parent 10a4d84b30
commit 4cd12077cb
3 changed files with 15 additions and 15 deletions

View File

@ -10,16 +10,16 @@
var Table = antd.Table;
var columns = [{
title: '姓名',
dataIndex: 'name'
dataIndex: 'name',
render: function(text) {
return <a href="#">{text}</a>;
}
}, {
title: '年龄',
dataIndex: 'age'
}, {
title: '住址',
dataIndex: 'address',
render: function(text) {
return <a href="#">{text}</a>;
}
dataIndex: 'address'
}, {
title: '操作',
dataIndex: '',

View File

@ -11,16 +11,16 @@ var Table = antd.Table;
var columns = [{
title: '姓名',
dataIndex: 'name'
dataIndex: 'name',
render: function(text) {
return <a href="#">{text}</a>;
}
}, {
title: '年龄',
dataIndex: 'age'
}, {
title: '住址',
dataIndex: 'address',
render: function(text) {
return <a href="#">{text}</a>;
}
dataIndex: 'address'
}];
var data = [];

View File

@ -10,16 +10,16 @@
var Table = antd.Table;
var columns = [{
title: '姓名',
dataIndex: 'name'
dataIndex: 'name',
render: function(text) {
return <a href="#">{text}</a>;
}
}, {
title: '年龄',
dataIndex: 'age'
}, {
title: '住址',
dataIndex: 'address',
render: function(text) {
return <a href="#">{text}</a>;
}
dataIndex: 'address'
}];
var data = [{
name: '胡彦斌',