You need to sign in to do that
Don't have an account?
Killian Mer
Lightning Data table - Responsivity for App
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 :
In desktop mode, the Data table is well displayed ! However, when i am in my app, it is displayed like this :
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 !
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 :
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 !
The current version of lightning:datatable is not supported on mobile devices.
https://developer.salesforce.com/docs/component-library/bundle/lightning:datatable/documentation
In an alternative, you use grid or lightning: layout.
Please mark as solved and best answer if it will solve your problem.
Thanks
Deepak.