-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CascadeDropDown #2261
Comments
Firstly, here is a snippet of a jtable definition which here deals with product group and product types within the groups.
You will see there are 3 different URLs which need to be supported in php The first is the simplest for just a full list of product groups, so here is a snippet of php
which demonstrates how to build the buffer for jtable The 2nd and 3rd URLs use the same script with options. The first of the two gets all the product types, which is used in the list operation of jtable. The second gets just the product types for a specific group, and is used in the Add and Edit dialogues.
use the same query processing as the previous snippet. This is just a reply to your question with demonstration code. Appropriate protection should be used to validate the groupId before using it in any sql. |
Hello I am new to jtable and like it so far. I am looking for an example of the options code for CascadeDropDown. I am using php and have not found server side code I need to populate the dropdown list from PHP/mySQL. Thanks
The text was updated successfully, but these errors were encountered: