We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35962
    • 5 Posts
    Hello All.

    I need solve some problem. A want to dynamically change data of one TV value (listbox) after when i change value in other TV (listbox). For example: first TV it is a list of countries, and when i click on the Japan, the second TV list is dynamically changes and show me "Tokio, Kioto, Osaka... etc". How i can doit? In the search of solve i insert function "onSelect" ExtJs in the listbox-single.tpl And its work. For example:
     
           ,msgTarget: 'under'
            ,onSelect: function(field, newValue, oldValue) {
    //           alert('You clicked me '+field+"X"+newValue+"X"+oldValue);
               zzz='You clicked me '+field+"X"+newValue+"X"+oldValue;
               console.log(field);
    


    But i cant understood how change data on other TV. Im trying to insert
    data: [[0, 'Radiobuttons'], [1, 'Checkboxes'], [2, 'Textfield'], [3, 'Textarea']]
    But it gave no results. Please help.

    P.s.: sorry for my english. [ed. note: setest last edited this post 12 years, 4 months ago.]
      • 35962
      • 5 Posts
      I DID IT !!!!!!!!!!!!!!!!
      I wrote my TV and one snippet. Now I write article in Russian about solve this issue. If who becomes interested write here and I will try to lay out it in English.