React-bootstrap-table2: Is "expandableRow" supported by react-bootstrap-table2 ?

Created on 10 May 2018  Â·  9Comments  Â·  Source: react-bootstrap-table/react-bootstrap-table2

Hi

I read that react-bootstrap-table (obsolete version) supports expandableRow & expandComponent properties so that new child table will be shown if row is clicked.
Example : http://allenfang.github.io/react-bootstrap-table/example.html#expand
Is this function not implemented in react-bootstrap-table2 ?

expandableRow is really useful and I would love to use!
It would be great if you can let me know the current development status for that.

Thanks a lot for your help in advance.
Rie

Most helpful comment

I badly need row expanding... When do you plan to update release?

All 9 comments

@northernbird it's sorry, we not implement it yet, I think it can be done in Jun

Hi

Thanks a lot for your reply.
If it’s ok for you, I can extend and implement then send pull request to
you.

Allen notifications@github.com schrieb am Sa. 12. Mai 2018 um 14:38:

@northernbird https://github.com/northernbird it's sorry, we not
implement it yet, I think it can be done in Jun

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/332#issuecomment-388531722,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUJiVQPqvH671Faasvj85mlGt1nysGbvks5txnVPgaJpZM4T50dX
.

I badly need row expanding... When do you plan to update release?

Hey @AllenFang ,

First of all awesome work on this plugin, Since I am a very old user of react-bootstrap-table I was migrating to the version and was searching for the row expanding, and you mentioned your plan was to release in june, any idea when we will be able to consume that?

Thanks once again.

Cheers

Hi Allen,

can we help for the implementation?
I will contribute gladly if I can..

Von meinem iPod gesendet

Am 29.07.2018 um 19:58 schrieb WaqarMobeen notifications@github.com:

Hey @AllenFang ,

First of all awesome work on this plugin, Since I am a very old user of react-bootstrap-table I was migrating to the version and was searching for the row expanding, and you mentioned your plan was to release in june, any idea when we will be able to consume that?

Thanks once again.

Cheers

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@AllenFang . Thanks for the updated feature. But currently where ever I click, the row expands , is there a way, when I will click only a button for example a get info button inside a row element, the row expands ? Thanks.

@dpramani we will support this feature in near future. thanks

Im sorry but it seems this is not yet implemented, expandableRow should receive a function

expandableRow  = isExpandableRow(row) {
    if (row.id < 2) return true;
    else return false;
}

The closes thing we have now is the nonExpandable array

nonExpandable: [1, 3]

but its not the same. Am I missing something? I think its not so different from other attributes already implemented like: className or parentClassName:

className: (isExpanded, row, rowIndex) => {
    if (rowIndex > 2) return 'expanding-foo';
        return 'expanding-bar';
    }
}

Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dillobird picture dillobird  Â·  3Comments

saifulss picture saifulss  Â·  4Comments

cnav007 picture cnav007  Â·  4Comments

harishkumarreddy12 picture harishkumarreddy12  Â·  3Comments

thevangelist picture thevangelist  Â·  4Comments