Skip to content
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

Disable "Delete" option #33

Closed
skygen007 opened this issue May 24, 2015 · 2 comments
Closed

Disable "Delete" option #33

skygen007 opened this issue May 24, 2015 · 2 comments

Comments

@skygen007
Copy link

Hi. Is there any way to disable "Delete" option ?

@tabalinas
Copy link
Owner

Not sure what you mean by "Delete" option, but if you talk about control field, you can hide delete button with following config option:

{ type: "control", deleteButton: false }

Thus a user won't have ability to delete an item from UI.

@rdksgit
Copy link

rdksgit commented Feb 4, 2016

Hi tabalinas,
Is there a way to disable the delete option on a particular condition, i can do that for editing but the delete option is still active
check is coming through a ajax call and i want to disable the form when it is 1
if(check==1){
$("#jsGridCommercial").jsGrid({
editing: false,
inserting: false
});
}

Thanks
Sameer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants