Skip to content

provide a way to clear out the dynatable.queries array. #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gprasant opened this issue Feb 24, 2014 · 2 comments
Open

provide a way to clear out the dynatable.queries array. #67

gprasant opened this issue Feb 24, 2014 · 2 comments

Comments

@gprasant
Copy link

Right now the workflow, wrt adding the queries to the dynatable object seems to be .

dynatable.queries.add("key1", value1);
dynatable.queries.add("key2", value2);

if in the UI , the key2 field was removed, the query entry would also have to be removed before calling dynatable.process.
so, rather than calling

dynatable.queries.remove("key1") and // calling remove on all fields, 

there should be something like

dynatable.queries.clear() // This sets the queries to a fresh initial state
@JangoSteve
Copy link
Member

Good point. I'll leave this open and add this to the queue.

@gprasant
Copy link
Author

I can help with this if you'd like

--gp

On Tue, Feb 25, 2014 at 1:15 AM, Steve Schwartz [email protected]:

Good point. I'll leave this open and add this to the queue.

Reply to this email directly or view it on GitHubhttps://github.com//issues/67#issuecomment-35926972
.

gprasant added a commit to gprasant/jquery-dynatable that referenced this issue Feb 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants