6
Answers

how to replace status column (Choice) with ions in Sp 2013 ?

l pratham

l pratham

6y
696
1

status column : if completed need to show green tick icon

if rejected need to cross icon
in progress need to show progress icon
 
thanks,
pratham.
Answers (6)
1
Jayakumar Balasubramaniam

Jayakumar Balasubramaniam

193 10.3k 1.4m 6y
Hi Pratham,
 
You can use column formatting option available in every column settings, please find more info in the official documentaion.
 
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting
 
Thanks,
Jayakumar B 
0
Maha Lakshmi

Maha Lakshmi

NA 129 8.2k 6y
yes, If you are going to use the sharepoint new experience you can follow the JSON column formatting as mentioned by Jayakumar. If your option is classic experience, override the display item template and use it in js reference of the respective list web part
0
Nanddeep Nachan

Nanddeep Nachan

22 47.1k 9.3m 6y
JSLink should work on calculated column
0
l pratham

l pratham

NA 509 23.6k 6y
Hi Nanddeep Nacha,
 
No column formatting option. i'm using new column with calculated type and adding below syntax but no output.
 
="<center>"&
IF([ApprovedStatus]="Completed","<img src='https://.sharepoint.com/image/green.png' border='0'/>",
IF([ApprovedStatus]="Rejected","<img src='https://.sharepoint.com/image/redd.png' border='0'/>",
IF([ApprovedStatus]="In progress","<img src='https://.sharepoint.com/image/org.png' border='0'/>","")))
&"</center>"
 
thanks,
pratham. 
0
Nanddeep Nachan

Nanddeep Nachan

22 47.1k 9.3m 6y
Is column formatting option available with SharePoint 2013 OnPremise?
0
Nanddeep Nachan

Nanddeep Nachan

22 47.1k 9.3m 6y
You may use JSLink for this.
Please refer: https://nearbaseline.com/2013/12/sharepoint-list-conditional-formatting-with-jslink/