Skip to main content

Timeline for Disable SP List column using JSON

Current License: CC BY-SA 4.0

18 events
when toggle format what by license comment
Jul 7, 2020 at 19:24 vote accept Kaddrik
Jul 7, 2020 at 7:09 answer added Amos timeline score: 0
Jul 7, 2020 at 6:10 comment added Kaddrik Hi @theChrisKent, thanks for your answer. I watched this video before creating the post. Well ok then :-( that means i'll have to create additional columns. thanks for your time ! have a great day
Jul 6, 2020 at 17:11 comment added theChrisKent When the ability to apply list formatting first rolled out to quick edit, some formats made it difficult to switch a cell to editing depending on where you clicked. You can see it a bit in this video: youtube.com/watch?v=BV8W84ZSxr8 so it may have been possible to hack something together that had the desired effect. Microsoft fixed this so that simply clicking within the cell removes the format. So while it's possible someone used list formatting to accomplish this, I don't believe you can do it any longer.
Jul 6, 2020 at 16:07 comment added Kaddrik hmm :-( I understand what you both say but I'm sure the guy did it. I just don't remember how. Ok then, thanks anyway for your time .
Jul 6, 2020 at 16:03 comment added Ganesh Sanap - MVP Agree with @theChrisKent, even if you add JSON formatting, if you will click on the column cell, it will allow you to edit the field.
Jul 6, 2020 at 16:01 comment added theChrisKent List Formatting affects the display during Quick Edit but clicking in the cell overrides it. I am not aware of any way to make a field read only during quick edit using list formatting.
Jul 6, 2020 at 15:54 comment added Kaddrik @GaneshSanap : Yes ! :-)
Jul 6, 2020 at 15:54 comment added Kaddrik @theChrisKent : in the list itself when you use the quick edit
Jul 6, 2020 at 15:52 comment added Ganesh Sanap - MVP Do you want to make this field read-only in quick edit mode?
Jul 6, 2020 at 15:51 comment added theChrisKent List formatting is awesome and you can do all sorts of display things. I'm not sure where you are trying to control the editing though. If not on the form, then where?
Jul 6, 2020 at 15:47 comment added Kaddrik @GaneshSanap: My columns are text. I mean having the column like "read only" . As if you were trying to type into a calculated field. i don't want the users to edit the fields. I know the downside was the fields were still editable in the form but back then, i removed them from the form.
Jul 6, 2020 at 15:47 comment added Kaddrik @theChrisKent: I understand what you say but i know the guy did it, he changed something in the code sample up there. and the field became read only. i just don't remember who the guy was and i don't know anyone anymore in that company.
Jul 6, 2020 at 15:39 comment added theChrisKent List formatting will only affect the display and has no effect on the writability (or even the display on the form) of fields
Jul 6, 2020 at 15:38 comment added Ganesh Sanap - MVP What do you mean by disabling list column? You don't want users to edit this field or is it link type column and you don't want your users to click on it? what is the data type of your column?
Jul 6, 2020 at 15:37 history edited Ganesh Sanap - MVP CC BY-SA 4.0
deleted 41 characters in body; edited tags
Jul 6, 2020 at 15:33 review First posts
Jul 6, 2020 at 15:37
Jul 6, 2020 at 15:33 history asked Kaddrik CC BY-SA 4.0