hi Guys,
Â
I would like to implement a custom search dialog with 2 select filters and reload the options of the 2nd select when the 1st one is changing.Â
I thought I should define searchoption and dataEvents, e.g.:
filterModel: [
  { label: ‘Country: ‘, name: ‘Country’, stype: ‘select’, defval: ‘-‘, surl: ‘/static/countrylist’,
    searchoptions: {
      dataEvents: [{
        type: “change”,
        fn: function(e) {
          alert(‘changed’);
        }
      }]
    }
  }
but based on the documentation :”The searchoptions are not applicable to custom search method. This method uses separate options.”
Â
could you please let me know how I can use this feature in custom search?
Â
thanks!
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top