datagrid
datagrid copied to clipboard
How to call custom JS before inline add/edit form is show
Hello, i have problem with inline add/edit and selectize:
- After click on add item the form for add is displayed.
- I search for some string in selectize (loaded from DB) and found items are correctly displayed.
- I select one of the found items and save the form.
- Repeat the steo 1 above.
- I click in the selectize input and there is item from step 3.
The goal is has always empty selectize when adding new item. Is there any way i could call custom JS before showing add form? I can clear selectize with JS easly, but dont know how or even if i can call it.
Is there any way? Thank you
As a solution i do redirect for now.