coreui-react
coreui-react copied to clipboard
Id attribute isn't useful on CSmartTable component
OS: All Browser: All
The React CSmartTable accepts an id attribute but can't be used to easily find the table.
This code:
<div id="outsideDiv">
<CSmartTable
id="insideCSmartTable"
...
/>
</div>
Turns into:
<div id="outsideDiv">
<div id="insideCSmartTable"></div>
<div class="...">
<table class="...">
...
It would be nice if the id ended up on the div wrapping the table, or on a new div where outsideDiv is at (wrapping both inner divs).