Trigger change onPreOpen Select2

Trigger change onPreOpen Select2

ilinkNewilinkNew Posts: 4Questions: 3Answers: 0

I have a Select2 in my Datatable.There is a column where it shows a Customer Name by its ID. When i open the Edit modal the Select field for this Customer is autocomplete connected with my Server. How ever it is not initialized in the value that is shown in the Datatable and in order to do that i have to run the Trigger method as it says in the Documentation. Does anybody know how i can trigger that method in the PreOpen so i can see the already checked value in the Select in the Modal..?

Answers

  • allanallan Posts: 63,189Questions: 1Answers: 10,411 Site admin

    Are you able to give me a link to your page so I can track this through please? I don't 100% follow what is going wrong.

    Allan

This discussion has been closed.