old_contents: #!/usr/bin/env python
  # coding: utf-8
  
  from table.columns import Column, LinkColumn, Link
  from table.utils import A
  from table import Table
  from models import Person
  
  
  class PersonTable(Table):
      id = Column(field='id', header=u'序号', header_attrs={'width': '50%'})
      name = Column(field='name', header=u'姓名', header_attrs={'width': '50%'})
  
      class Meta:
          model = Person
          ext_button_link = "http://www.baidu.com"
  
  
  class LinkColumnTable(Table):
      id = Column(field='id', header=u'序号', header_attrs={'width': '33%'})
      name = Column(field='name', header=u'姓名', header_attrs={'width': '33%'})
      action = LinkColumn(header=u'操作', header_attrs={'width': '33%'}, links=[
          Link(text=u'编辑', viewname='app.views.edit', args=('id',), confirm=u"确定吗？")])
  
      class Meta:
          model = Person
  
  
  
new_contents: #!/usr/bin/env python
  # coding: utf-8
  
  from table.columns import Column, LinkColumn, Link
  from table.utils import A
  from table import Table
  from models import Person
  
  
  class PersonTable(Table):
      id = Column(field='id', header=u'序号', header_attrs={'width': '50%'})
      name = Column(field='name', header=u'姓名', header_attrs={'width': '50%'})
  
      class Meta:
          model = Person
          ext_button_link = "http://www.baidu.com"
  
  
  class LinkColumnTable(Table):
      id = Column(field='id', header=u'序号', header_attrs={'width': '33%'})
      name = Column(field='name', header=u'姓名', header_attrs={'width': '33%'})
      action = LinkColumn(header=u'操作', header_attrs={'width': '33%'}, 
          links=[Link(text=u'编辑', viewname='app.views.edit', args=('id',))])
  
      class Meta:
          model = Person
  
  
  
subject: remove invalid option in example