Skip to content

Id attribute isn't useful on CSmartTable component #298

@Getterac7

Description

@Getterac7

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions