I know that using a column's readonly property, i can avoid editing its field value. But this doesn't stop the inplace editor to show itself. I need a way to make the column not only protected but "untouchable". Is there a way, please ?
Related Questions in DELPHI
- How can I read the header of request to webserver
- Receiving Notifications for Individual Task Completion OmniThreadLibrary Parallel.ForEach
- Delphi - How to get result of function from QuickReport without viewing a report?
- Out of memory while adding documents to a Firebird BLOB field with Delphi
- How to MakeScreenshot fullpage on Delphi
- How to program a COM object with an IEnumerator, IEnumerable interface inside
- How to Dynamically Add Controls to Delphi Form
- How to write a string in Stringrid with DelimitedText in FMX Delphi 11
- TGrid/TStringGrid multi cell selection / multi editing in delphi firemonkey (12)
- How to localize "Today" in the Delphi TMonthCalendar?
- How can I call a SOAP webserver method in Vue.js?
- Efficiently Handling Large Number of API Calls with Delphi 10.4 and OmniThreadLibrary
- Delphi can not compile the unit create by its "XML Data Binding Wizard"
- Save Form Properties in File and then restore those Properties after reopening
- Is it possible to open a blob without saving it to file
Related Questions in EDITING
- What's the quickest way to perform convolution in multiple images stored in numpy arrays, in python?
- What is the best way of giving my customer the opportunity to edit the content of his website (React) by himself?
- how can i update an array with new values? C#
- How to edit an ABAP project of "program" object category when I receive the message that its "package is missing"?
- How to change the color of an image in photoshop
- How to avoid problems when saving edits in Geopackages from QGIS
- Matlab multi cursor key doesn't work for Mac
- Unexpected behaviour of Neovim in insert mode when executing many key-bindings
- REGEX To Find Acronyms Outside of Parenthesis
- How do i remove a number that is at the end of each line in a text file?
- Vi(m): How to read file into exact possition in buffer
- How can I get this paragraph 1 to look like paragraph 2 .. any shortcut ? don't want to edit manually
- In DB Browser for SQLite, How DO I Save An Edited FIle Without Changing Its Format?
- Basecamp document editing lost
- Audio Editing using Python
Related Questions in TDBGRID
- How can I group data in Delphi
- TDBGrid: scroll contents as thumb button is moved?
- TDBGrid - How do you HitTest if you are on the column headers?
- How do I only output an icon to a TDBGrid field?
- How to use onDrawColumnCell to change cell text without using textout on Delphi?
- Trying to drag a TDBGrid's record onto another TDBGrid's record, but Application.ProcessMessages won't let me
- TDBGrid, character "ã" painted as ".." with certain regional settings
- Delphi TDBGrid inserts new record on tab press
- How to load a XML/CSV/ODB file in DBGrid in Lazarus/Free Pascal?
- How to open a html file in a Grid, StringGrid or a DBGrid in Lazarus/Free Pascal?
- Alternate color of groups of rows on a DBGrid
- Is there a way to determine if scrollbars are visible on a TDBGrid
- Changing color of column header in DBGrid with Theme settings on
- How to post data in TDBgrid immediately when exiting the cell being edited
- How to change TDBGrld row colour when a field value is changed
Related Questions in IN-PLACE-EDITOR
- Color property in TInplaceEdit not working
- TDBGrid right align columns and set caret pos when editing value
- Delphi : Avoid editing a column in TDBgrid
- How to hide Item in RepositoryItemComboBox?
- <p:inputText> value not updated in model on change
- Ajax.InPlaceEditor.prototype: spaces are encoded to '+' after upgraded prototype to 1.7.1
- How to use <p:watermark> for <p:inplace> editor
- using only one query to update columns in the database - inplace edit
- Using only one function to update different columns of a table in database
- Using REST in Place with nested attributes
- In Eclipse, can I make Open With In-Place Editor the default option?
- update div after jeditable submit in rails
- Finding all active in place editors
- Scriptaculous Ajax.InPlaceEditor: How to trigger cancel action?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If I understand what you want correctly, you can do this quite simply, by creating a custom TDBGrid descendant and overriding its
CanEditShowmethod, as this determines whether the grid'sInplaceEditorcan be created:This minimalist example just defines one grid column by number as being one where the
InplaceEditoris not permitted; obviously you could use any mechanism you like to identify the column(s) for whichCanEditShowreturns False.Note that the code above doesn't account for the fact that the column numbering of the grid changes if you turn off the
Indicatorcolumn (i.e. setOptions.dgIndicatorto False);Obviously, you get more flexibility for customizing which columns are permitted an InplaceEditor by using an assignable event as in
If you don't like creating the grid in code, you could put it in a custom package and install it in the IDE or, if your Delphi version is recent enough, implement the
CanEditShowin aclass helper.