function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ranjith MerguRanjith Mergu 

how can display diiferent themes based on picklist value in data table in lightning design system

this is sample output
bharath m 7bharath m 7

Use conditional styling.

Ex: <a class="{!v.location == '/Shipped' ? 'selected' : ''}" href="#/Shipped">Shipped</a>
 



In your case you might have to do it for a button. Let me know if that resolves the issue.

Ranjith MerguRanjith Mergu
the above is the picklist value
Ranjith MerguRanjith Mergu
how can i do for picklist value
sfdcMonkey.comsfdcMonkey.com
hi Ranjith Mergu
Here i create a post on that topic, please go to below link for your solution
http://www.sfdcmonkey.com/2017/05/15/display-colorful-values-based-picklist/
Hops it helps you
let me know if it helps you and mark it best answer if it helps you so it make proper solution for others in future :)
thanks
Ranjith MerguRanjith Mergu
Hi piyush
thanks for your response, but could you show it in lightning design system
Ranjith MerguRanjith Mergu
Good Morning Piyush,
 I tried but it is nit working in design system,.Could you please make it in lightning design system
Thanks,
Ranjith.
sfdcMonkey.comsfdcMonkey.com
hi Ranjith Mergu any update
what error you are getting with this code ?
and can you please tell me the requerment in details so i can help you.
this http://www.sfdcmonkey.com/2017/05/15/display-colorful-values-based-picklist/ sample is create with lightning design system
sfdcMonkey.comsfdcMonkey.com
hi Ranjith Mergu,
For above query/issue please put a fresh question on forum with details. so everyonce can seen it. 
and close your this "how can display diiferent themes based on picklist value in data table in lightning design system" question by select best answer so it make proper solution for others in future refernece 
Thanks