Quantcast
Channel: Force to hide numeric column in LWC Datatable - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 2

Answer by sfdcfox for Force to hide numeric column in LWC Datatable

$
0
0

You can't do this in any way that is supported. CSS is scoped to a component, so your component cannot affect the styles inside another component, and the table is hard-coded to show the row numbers when columns are editable. If you want a table that doesn't behave this way, you'll have to write your own.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>