Title: Change Combobox Filter options in Datagrid dynamically Post by: rangaNadha on March 04, 2018, 11:32:03 PM Hi,
We have a requirement saying that Enable/Disable the options in combo box filter dynamically for a datagrid on selecting a radio button outside the datagrid. Could you Please tell me the process how to do that. Thanks in Advance. Thanks, Pandu Ranga T. Title: Re: Change Combobox Filter options in Datagrid dynamically Post by: jarry on March 05, 2018, 07:22:16 AM Set the 'editable' property to true to enable the filter or false to disable it.
Code: $('#cc').combobox({ Title: Re: Change Combobox Filter options in Datagrid dynamically Post by: rangaNadha on March 05, 2018, 09:59:04 PM Hi Jarry,
Its not the enable/disable the filter for a particular combobox. We have to enable/disable the option in the combobox based on a radio button selection. Code:
Thanks in advance. Title: Re: Change Combobox Filter options in Datagrid dynamically Post by: jarry on March 06, 2018, 02:26:35 AM Please try to call the 'getFilterComponent' method to get the filter component and load new data.
Code: var data = [ Title: Re: Change Combobox Filter options in Datagrid dynamically Post by: rangaNadha on March 06, 2018, 10:20:26 PM Thanks Jarry, it satisfied our requirement.
|