question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Who to make entire jsgrid readonly or disabled

See original GitHub issue

Is there a recommended way to make the entire jsgrid readonly? Doing the following the filter row is enabled:

$("#myGrid").prop('disabled', true);
$("#myGrid").children().prop('disable', true);
$(".jsgrid-filter-row").prop('disable', true);

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tabalinascommented, Oct 16, 2017

@priyarathi, have you tried to set options editing and inserting to false? $("#grid").jsGrid("option", "editing", false).

1reaction
tabalinascommented, Apr 9, 2017

Turn off editing and inserting (editing: false, inserting: false), and hide delete button for control field (deleteButton: false).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make an entire jqGrid disabled/readonly - Stack Overflow
I have a page with a logical "edit section" which I show when the user selects something to edit, and hide when the...
Read more >
Documentation - jsGrid
To have all general grid field properties custom field class should inherit jsGrid. ... If auto-loading is disabled the promise is instantly resolved....
Read more >
Set entire grid "disabled" or "readonly" | Infragistics Forums
How do you set an entire grid to "disabled" or "readonly" in javascript? I looked at the docs but didn't see any options...
Read more >
Making column as readonly on update and editable on insert ...
I have resolved the issue using jquery. Below is the code. $('input[name *= "Username"]').attr("disabled", true); Hope it helps ...
Read more >
Quick edit View- Readonly rows - SharePoint Stack Exchange
You can set few fields as read-only in a Quick edit / Datasheet mode of a List view through Sharepoint designer. Create a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found