Multipel-Selection

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
User avatar
dilitimor
Veteran Member
Posts: 36
Joined: 2013-01-10 02:45
Location: Jakarta, Indonesia
Contact:

Multipel-Selection

Post by dilitimor » 2013-01-10 03:09

How can I generate multiple selection from look-up field

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: Multipel-Selection

Post by a.gneady » 2013-01-10 22:30

Multiple selection is currently supported only for option lists. But I'll consider adding it for lookup fields in future releases, though this is not very-well supported by MySQL.
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

jewa
Posts: 2
Joined: 2013-06-12 14:13

Re: Multipel-Selection

Post by jewa » 2013-06-12 14:19

Yes - I need this feature as well...
It would be great to get any indication when this might be integrated.

jewa

dmeunier
Posts: 10
Joined: 2013-11-22 23:04

Re: Multipel-Selection

Post by dmeunier » 2013-12-03 04:06

I agree, this feature would be awesome. BTW love the progress you're making with AppGini!

User avatar
toconnell
Veteran Member
Posts: 204
Joined: 2013-04-09 19:29
Location: Oklahoma City, OK
Contact:

Re: Multipel-Selection

Post by toconnell » 2018-10-17 14:30

Ahmad,
I desperately need this. Is there a work around? I have heard nothing more.
Tina O'Connell
Web Dev & Appgini FAN

User avatar
dilitimor
Veteran Member
Posts: 36
Joined: 2013-01-10 02:45
Location: Jakarta, Indonesia
Contact:

Re: Multipel-Selection

Post by dilitimor » 2018-10-17 18:39

Yes, I had been waiting too. It is already 5 years since i post this topic

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Multipel-Selection

Post by jsetzer » 2018-10-17 19:08

Multi-Select dropdowns for 1:n or n:m relations will be a great comfort-feature for usability, that's for sure. Other feature requests here in this forum are important, too. Couple of them even more important from my personal point of view, because they have an impact on data integrity.

Ahmad does a great job and gives us a great product at a reasonable price in comparison to other frameworks. So let us trust in his decisions for the roadmap.

You may have a look at Select2 library here:
https://select2.org/getting-started/basic-usage

They offer you "Multi-select boxes (pillbox)" which you can use in your code. After posting the selected items to the server via AJAX you will have to run through the posted child-ids, insert new records and set the owner of the new records. You will also have to check for existing records to be deleted.

I did this in one of my projects:
chrome_2018-10-17_20-45-09.png
chrome_2018-10-17_20-45-09.png (35.16 KiB) Viewed 10450 times

(opens a modal form)
2018-10-17_20-47-09.gif
2018-10-17_20-47-09.gif (59.54 KiB) Viewed 10450 times

After Saving my selection, I can close the modal form. I have to refresh the details-tab, but that's ok for my customer. Then the details-tab contains all created records, and customer can edit details for each single record if necessary.

Deleting records is possible, too:
2018-10-17_20-56-51.gif
2018-10-17_20-56-51.gif (55.79 KiB) Viewed 10450 times

This should give you a starting point.

Kind Regards,
Jan
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
toconnell
Veteran Member
Posts: 204
Joined: 2013-04-09 19:29
Location: Oklahoma City, OK
Contact:

Re: Multipel-Selection

Post by toconnell » 2018-10-18 12:26

Jan, Thank you. You have saved my professional life!
I will always appreciate Ahmad. He helped me thru some tuff times in the past with this great product and I will always be an APPGini fan. I only referenced the GP garbage for the 'how to' implement the requested feature but I will always trust him.

Thanks again for your time and effort to respond. I am truly grateful Jan! You fixed two issues I was having with your comments and solved both dilemmas. I am in your debt.
Tina O'Connell
Web Dev & Appgini FAN

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Multiple-Selection

Post by jsetzer » 2019-07-01 19:22

See also this discussion on the same topic:

viewtopic.php?p=10425#p10426

2019-07-01_20-33-31.gif
2019-07-01_20-33-31.gif (167.81 KiB) Viewed 9445 times

Kind Regards,
Jan
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

sathukorala
AppGini Super Hero
AppGini Super Hero
Posts: 121
Joined: 2020-02-16 16:29

Re: Multiple-Selection

Post by sathukorala » 2020-02-22 02:09

jsetzer wrote:
2019-07-01 19:22
See also this discussion on the same topic:

viewtopic.php?p=10425#p10426


2019-07-01_20-33-31.gif


Kind Regards,
Jan
Can you please explain how you did this in a simple way?

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Multipel-Selection

Post by jsetzer » 2020-02-22 06:52

I'm sorry, there is no simple way.

It took days to develop this. And there are still things missing as you can see in this post viewtopic.php?p=10425#p10426
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
dilitimor
Veteran Member
Posts: 36
Joined: 2013-01-10 02:45
Location: Jakarta, Indonesia
Contact:

Re: Multipel-Selection

Post by dilitimor » 2020-06-02 13:41

Jan, Thank you. You are great

Post Reply