Datagrid 8_2_7 on-js-event onchange

Discuss everything related to ApPHP DataGrid class. All versions. Any questions related to the ApPHP DataGrid developing or using should be posted to this forum.
Please, check out Knowledge Base first before you post a question.

Moderator: alexandrleonenko

Forum rules
Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.
Posts: 6
Joined: Jun 25th, '19, 14:07

Datagrid 8_2_7 on-js-event onchange

Postby antonio53 » Jul 19th, '19, 07:57

In edit mode I have tree enum-dropdownlist fields.
I need that after choosing a value in the first field, the second list will contain a subset of values according the preceding choice, and so on.
Example country - region - city selection.
I try to use on-js-event onchange, but I don't know how to update the source array of the enum field with javascript.
If what I need is possible, can somebody show me an example ?
With thanks.

Return to “ApPHP DataGrid”