I am looking for a way to add a button on the side or under a field in the add dialog box. if the “company” does not exist, i would like a button that could go to a custom page, and the user, could add a new customer/company. example.
Please let me know how this could be done.
Thanks,
Tim
1 Answers
Hi,
You can refer this demo:
https://www.gridphp.com/demo/demos/appearance/dropdown-add-lookup.php
And it’s code: https://www.gridphp.com/demo/demos/appearance/dropdown-add-lookup.phps
You can extract the code to have button beside field and as onclick event function.
This update is on the blog as well.
Your Answer