Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Empty (add) row ass the first row in a sub form grid

Questions related to using nuBuilder Forte.
Post Reply
nathan
Posts: 40
Joined: Tue Apr 19, 2022 9:18 pm
Been thanked: 3 times

Empty (add) row ass the first row in a sub form grid

Unread post by nathan »

Hello once again.. :hi:
I would like to know if there is a way to have the empty (add) row ass the first row in a sub form grid.
So that I don’t have to scroll to the last record to add a new one in a form with a lot of entries.

Thank you for your help !!!
Nathan
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Empty (add) row ass the first row in a sub form grid

Unread post by kev1n »

Hi Nathan,

It is not possible to have the empty (add) row as the first row in a sub form grid in nuBuilder due to the way it is designed.
When a new row is added to the top of the grid, all existing rows would have to be shifted down to accommodate the new row, which would be a complex and time-consuming operation if there are a lot of rows.

You could add a button that takes the user to the last row and sets the focus there. This can be a convenient workaround for subforms with a lot of entries, as it allows users to quickly navigate to the bottom of the grid to add new entries.

Another possibility that comes to mind is to add the same fields as the subform contains on top of the subform, on the main form, and then populate the empty subform when these fields are filled in. This can be done with JavaScript, but it would require some programming skills.
nathan
Posts: 40
Joined: Tue Apr 19, 2022 9:18 pm
Been thanked: 3 times

Re: Empty (add) row ass the first row in a sub form grid

Unread post by nathan »

Thank you Kevin,
I will look at a way to work around this ...
thank you again ...great work !!!!
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Empty (add) row ass the first row in a sub form grid

Unread post by kev1n »

It would be great if you could keep us updated on the solution you have come up with. Sharing your solution would provide valuable insights into how to approach and solve similar problems, and could benefit others who may encounter similar issues in the future.
nathan
Posts: 40
Joined: Tue Apr 19, 2022 9:18 pm
Been thanked: 3 times

Re: Empty (add) row ass the first row in a sub form grid

Unread post by nathan »

Yes no problem but I only work part time on this so it can take some time...thank you once again for your help the more I work with this the more I can see how mutch effort you have put in !!!!
Post Reply