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

Add new row in specific place/order? #159

Open
dwasyl opened this issue Aug 6, 2019 · 2 comments
Open

Add new row in specific place/order? #159

dwasyl opened this issue Aug 6, 2019 · 2 comments

Comments

@dwasyl
Copy link

dwasyl commented Aug 6, 2019

Hi all,

Just looking for ideas here, have the script working great, although my lists involves a number of 'sub' lists where the items are indented. To manage that, something that I would like to support add links at various parts throughout my list of formset objects. Currently, the button always creates new rows at the end of the table, whereas I would like the new items to be included below whatever row had the button that was used to add the item.

Has anyone done this before or have any tips or what might work? I've tried a few different ways of making this happen without any luck.

Thanks

@pije76
Copy link

pije76 commented Aug 22, 2020

Any solution for this idea?

@dwasyl
Copy link
Author

dwasyl commented Aug 22, 2020

I never found a great way and ended up just working around it by inserting them in specific places. Not ideal.

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

No branches or pull requests

2 participants