How to get rid of default Sort & Delete columns?

web
mobile

Topic: How to get rid of default "Sort" & "Delete" columns?

riazkanani pro asked 1 months ago

Hello,My column specification is:

const columns = ["Account Name", "Target Location", "Blocked Location"]

But the columns appear as:

Account Name Target Location Blocked Location Sort Delete

How did "Sort" & "Delete" columns appear? How to get rid of them?


Piotr Glejzer staff commented 4 weeks ago

You have to go to TableEditable.js file and comment/remove code about those columns. This is table editable so these columns appear automatically to the latest defined column.


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: React
  • MDB Version: 4.24.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: No