Title: DataGrid Filter Row Extension automatic filter problem Post by: cjytxwd on April 29, 2018, 09:47:17 PM I'm using DataGrid Filter Row Extension in my datagrid, I notice the filterDelay Property determines the delay time to do filter automatically when the filter type is 'text', It's powerful and convenient, but How can I disable the automatic filter function? I try to set filterDelay to 0 but it just does filter immediately.
Title: Re: DataGrid Filter Row Extension automatic filter problem Post by: stworthy on April 30, 2018, 05:56:49 PM Please download the newer 'datagrid-filter.js' file from https://www.jeasyui.com/extension/datagrid_filter.php. Set the 'filterDelay' to 0 to disable the default filtering action.
Title: Re: DataGrid Filter Row Extension automatic filter problem Post by: cjytxwd on April 30, 2018, 06:34:26 PM Thanks!
Title: Re: DataGrid Filter Row Extension automatic filter problem Post by: fgendorf on December 12, 2018, 11:57:09 AM Hi, setting filterDelay to 0 in the latest version not disabled the automatic filter in text fields.
I saw in datagrid-filter.js the follow code: Code: else if (opts.filterDelay){ so filterDelay = 0 the setTimeOut is immediately.... Where can I get the latest version to disable automatic filter? Thanks for advance Title: Re: DataGrid Filter Row Extension automatic filter problem Post by: stworthy on December 12, 2018, 06:45:04 PM This code does not execute when the 'filterDelay' is set to 0.
Title: Re: DataGrid Filter Row Extension automatic filter problem Post by: fgendorf on December 13, 2018, 02:45:07 AM This code does not execute when the 'filterDelay' is set to 0. Thanks for you answer, I downloaded the latest source of datagrid-filter.js and the automatic filter continues executing with filterDelay = 0. Looking on source a didn't found any condition related this, are you sure? Thank you Title: Re: DataGrid Filter Row Extension automatic filter problem Post by: stworthy on December 13, 2018, 04:57:47 PM This is the example http://code.reloado.com/obexur/edit#preview
The filtering action does not execute until you press the ENTER on the filtering box. |