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
Rohith Kumar 98Rohith Kumar 98 

Proper alignment of lightning:select in table row

I used lightning:select in table row but, it is not properly aligned(not centered vertically). How to align it vertically center like other column(PRICE and ACTION).

please zoom the image if it is too small.
User-added image
Best Answer chosen by Rohith Kumar 98
PriyaPriya (Salesforce Developers) 

Hi Rohith,

Check this below that matches your requirement :- 
https://salesforce.stackexchange.com/questions/216055/how-to-center-lightningselect-components-in-a-table

Regards,

Priya Ranjan

All Answers

Suraj Tripathi 47Suraj Tripathi 47

Hi Rohith,

You can put your lightning select in the below code.

<div class="slds-align_absolute-center" style="height:5rem">Data show in centre</div>

you can also visit the below link

https://www.lightningdesignsystem.com/utilities/grid/

Thank You

 

PriyaPriya (Salesforce Developers) 

Hi Rohith,

Check this below that matches your requirement :- 
https://salesforce.stackexchange.com/questions/216055/how-to-center-lightningselect-components-in-a-table

Regards,

Priya Ranjan

This was selected as the best answer