Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plugin_dbui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2pext
plugin_dbui
Commits
020011e8
Commit
020011e8
authored
12 years ago
by
LE GAC Renaud
Browse files
Options
Downloads
Patches
Plain Diff
Use the method grid.reset.
parent
9651e43e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
static/plugin_dbui/src/pgridexpertmenu.js
+3
-13
3 additions, 13 deletions
static/plugin_dbui/src/pgridexpertmenu.js
with
3 additions
and
13 deletions
static/plugin_dbui/src/pgridexpertmenu.js
+
3
−
13
View file @
020011e8
...
...
@@ -43,21 +43,11 @@ App.grid.ExpertMenu = Ext.extend(Object, {
},
/**
* Handler to reset filter and
to reload the underlying data store
* Handler to reset
grid, its
filter
s
and
its paging options
*/
onReset
:
function
()
{
var
grid
=
this
,
store
=
this
.
getStore
();
// remove gridFilter conditions
delete
store
.
baseParams
.
where
;
// send the clear signal in order to reset gridFilter
store
.
fireEvent
(
'
clear
'
);
// load the store with fresh data
store
.
load
();
var
grid
=
this
;
grid
.
reset
();
}
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment