EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: juancitop on August 30, 2017, 06:54:22 PM



Title: Combogrid - reset q value
Post by: juancitop on August 30, 2017, 06:54:22 PM
Hi, How can i reset q parameter in combogrid.
I try with clear, reload, but q parameter remains.
My combogrid offcourse is in 'remote' mode.

Thanks in advance.


Title: Re: Combogrid - reset q value
Post by: jarry on August 31, 2017, 07:05:14 AM
The 'q' parameter is merged into the 'queryParams' object. Please refer to the code below:
Code:
var grid = $('#cc').combogrid('grid');
var params = grid.datagrid('options').queryParams;
params.q = ...;


Title: Re: Combogrid - reset q value
Post by: juancitop on August 31, 2017, 02:05:02 PM
Thanks Jarry !!!