Question: Add Remove column to table

Add Remove column to table

Can I have step by step instructions with screenshots on how to do the following? Add/Remove column to table Here are the steps to follow To add a column you will need to Modify the sele

MW

Marissa Williams

Asked
Can I have step by step instructions with screenshots on how to do the following?


Add/Remove column to table
Here are the steps to follow

To add a column you will need to

Modify the select statement and select the desired column, in the controller.
Add new element to datatables columns (should be in sequence) in the relative view file.
Lastly add the th tag with column heading to table head (should be in sequence).
To remove a column you will need to

Modify the select statement and remove the desired column, in the controller.
Remove the element form columns of datatables in the relative view file.
Lastly Remove the th tag with column heading to table head.
  • MS

    Mian Saleem

    Answered
    There is no such guide/instructions as the view files and controller would be different. Docs has the example to add state to customer list. This the the general guide and if you not sure, you can hire any developer to help you add/remove columns as you need.

    Thank you
  • Login to Reply