0

In their demo code, they have the following columns listed:

const columns = ["Person Name", "Age", "Company Name", "Country", "City"];

Yet, "Sort" & "Delete" columns get appended to the right. How to get rid of these to columns?

Harsha N Hegde
  • 315
  • 2
  • 14

1 Answers1

0

I got access to their source code. And they have the columns HARD CODED

<tr>
    {columns && columns.map((th, i) => {
        return <th key={i}>{th}</th>; })}
    <th>Sort </th>
    <th>Delete </th>
</tr>
Harsha N Hegde
  • 315
  • 2
  • 14