question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support columns props

See original GitHub issue

@AllenFang

        let columns = [{
            title: 'Product ID',
            dataField: 'id',
            sortable: true,
            hidden: true,
            textAlign: 'center'
        }, {
            title: 'Product ID',
            dataField: 'pid',
            sortable: true
        }, {
            title: 'Product Price',
            dataField: 'price',
            sortable: true
        }];

<BootstrapTable columns={columns} rowKey="id"/>

其中使用 rowKey 替代 TableHeaderColumn 中的 isKey。这样如果 'key列不需要显示就不用再配置column`

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sgentilecommented, Sep 7, 2016

Sounds good - I might take a stab at a PR for this - thanks for the response!

On Wed, Sep 7, 2016 at 9:23 AM, Allen notifications@github.com wrote:

I do believe it would work with a modification to the handling of children inside the BootstrapTable

surely, there’s should have some patch which can make it works. But I think this feature is not very important(I means there alway have a good solution or workaround and few people facing this problem?!), hence I prefer to fix bug and doing v3.0.0. Anyway, PR is welcome 😃

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AllenFang/react-bootstrap-table/issues/84#issuecomment-245278598, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIFNJxRGXomvrjxcxY4okGvCLt5ZKhXks5qnrq9gaJpZM4GR-cQ .

1reaction
ruchitramicommented, Jan 26, 2016

It will help change columns dynamically on the go. So based on options users selected, I can show different columns.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Columns - Props and Kits - Anderson's
Column Kits include all instructions, supplies and materials to construct columns as shown. 1-40 products of 293. Sort By : Relevancy ...
Read more >
Prop Columns & Pedestals - eFavormart.com
We can help you ease the burden of planning a grand affair. At efavormart.com you can buy roman columns, Styrofoam columns, spandex columns,...
Read more >
Column Photo Prop - Etsy
Check out our column photo prop selection for the very best in unique or custom, handmade pieces from our shops.
Read more >
Display Props - Column Designs
Whether you need columns, urns, canopies, gazebos, planters, pedestals, stands, or fixtures, we are sure to have the right display prop for your...
Read more >
Decorative Columns - Amazon.com
HANABASS Roman Pillar Stand Resin Greek Column Statue Wedding Decorative ... Roman Pillar Greek Column Statue Wedding Pillar Plastic Roman Collum Props Pant ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found