How to get rid of default Sort & Delete columns?


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

riazkanani asked 5 years 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 5 years 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.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

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