ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: queensgambit9 on January 09, 2019, 06:51:43 pm
-
As default all options are selected when using filter condition Range. Is it possible to have none selected as default?
-
It can be customized in filter.selectGridCreated callback like this:
selectGridCreated: function(ui){
var c = ui.grid.Checkbox(ui.column.dataIndx);
if( c.isHeadChecked() )
c.unCheckAll();
}
-
Thanks. Would this be correct implementation?
{ title: 'test', filter: { crules: [{ condition: 'range' }],
selectGridCreated: function(ui){
var c = ui.grid.Checkbox(ui.column.dataIndx);
if( c.isHeadChecked() )
c.unCheckAll();
} } }
When opening the dropdown the grid seems to refetch data from db?