Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
Hi everyone,

I am using a Lightning Data table component that i can access from my desktop or my Salesforce mobile App.

It is built like this : 

 

<lightning:datatable aura:id="WSTable" data="{!v.filteredData}" class="slds-m-top_medium"

columns="{!v.columns}"

minColumnWidth="100px"

keyField="identsrc"

onrowselection="{!c.getSelectedRow}"

sortedBy="{!v.sortedBy}"

sortedDirection="{!v.sortedDirection}"

maxRowSelection = "1"

onsort = "{!c.updateColumnSorting}"/>

</lightning:card>

In desktop mode, the Data table is well displayed ! However, when i am in my app, it is displayed like this :

User-added image

So it is totally unreadable, and i would like to know how to fix this. I already tried to set a minWidth for the colums but it doesn't work.

Thanks in advance !

 
2 answers
0/9000