On change select

QuestionsOn change select
Samsun asked 6 years ago

Hay,

My form have two type select province and city. If i wan selected the city, where the city is depend on province like. How must i do?

Regards

7 Answers
Abu Ghufran answered 6 years ago

Hello,

Please check your email for update.

DGea answered 6 years ago

Dear Abu,
Could you send it to my email too? Thanks for your help and support. Thanks.

Abu Ghufran answered 6 years ago

It's part of paid package. Subscription can be renewed by email request. Check your email.
Thanks

Akhlad answered 5 years ago

Same question, knowing that the data of city and province is in the database and not a hard coded list. What should I do.

Akhlad answered 5 years ago

Thanks for your rapid response. I'm facing now a situation where the country drop down is in the parent grid and the city drop down is in the child grid.

I would like to update the edit values "and the search values" for the column city in the child grid based on the selected Parent's country value.

Abu Ghufran answered 5 years ago

If you are using parent+subgrid model, this is doable by passing extra param of country to subgrid and change the dropdown values (by php if conditions) based on parent's country value.

Refer demos/master-detail/subgrid.php for passing extra params.

If you are using master+detail grid, this may not be easy as the search values / edit values are populated at grid load time.

Your Answer

17 + 2 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!