Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: Is there a way to use my customize dialog when I use insertRow? #509

Closed
stoneNo opened this issue Jun 15, 2016 · 4 comments
Closed

Comments

@stoneNo
Copy link

stoneNo commented Jun 15, 2016

Hi Allen,

Is there a way to use my own dialog instead of you given when i use insertRow to add Rows?
I want add Rows, and I use the props: insertRow, but the dialog is not i wanted.
thanks!

@AllenFang
Copy link
Owner

@stoneNo, it's impossible, I suggest you customize one by yourself, include insert button. BTW, in #497, I've announced the support for customization component in v3.0.0. But it really need some times.

@AllenFang
Copy link
Owner

Anyway, you can add new row from your dialog or something like that and then update the table state or calling handleAddRow which exposed by BootstrapTable.

@AllenFang
Copy link
Owner

Fixed on v3.0.0, check https://github.com/AllenFang/react-bootstrap-table/tree/master/examples/js/custom/insert-modal

Let me know if you got any questions

@EktaDevop
Copy link

while adding row, in the modal if we add empty value, toast message is shown, can we customize this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants