Hi Team,
Thank you for your reply.
According to your sample code, I can control to display or not display these contents.
But I have a new question.
I want to clear a content of textbox with local filter mode when a mode of filter will change local header filter to local filter.
Because a content of textox with local filter remain after a filter mode changed.
I will show my sample code as follows.
Please let me know how to solve this problem.
Regards,
Koichi
[Sample code]
{
type:'button',
label: 'Toggle filter row',
listener: function() {
if (this.option('filterModel.header')) {
this.reset({filter: true});
this.option('filterModel.header', false);
this.option('filterModel.mode', 'OR');
this.refresh();
}
else {
this.reset({filter: true});
this.option('filterModel.header', true);
this.option('filterModel.mode', 'AND');
this.refresh();
}
this.toolbar().find(".toggle").toggle();
}
},
{
type: 'textbox', <-- I want to clear a content of this textbox when a filter mode will change from local header filter mode to local filter mode.
label: 'Filter: ',
attr: 'placeholder="Enter your keyword"',
cls: "filterValue toggle",
listener: { keyup: filterhandler }
},