asp.net mvc - Issue with data show columns in mvc table -


i have table displays data. have added data-show-columns="true" table.

and table likes below. enter image description here

when want hide created date column. table header hides , content in same there. working fine other columns first name , email , enter image description here

below table code.

<table class="table table-hover table-bordered" id="table-candidates" data-show-columns="true"            data-sort-name="createddate" data-toolbar="#candidate-list-table-toolbar" data-sort-order="desc" data-show-export="true" data-filter-control="false"            data-show-multi-sort="false">         <thead>             <tr>                 <th data-field="createddate" data-sortable="true" data-formatter="formatdate">created date</th>                 <th data-field="fullname" data-sortable="true" data-formatter="formatcandidatefullname">full name</th>                 <th data-field="phonenumber" data-sortable="true">phone</th>                 <th data-field="username" data-sortable="true">email</th>                 <th data-field="technicalorfunctional" data-sortable="true">technical/functional</th>             </tr>         </thead>     </table> 

update:

when column in sort getting issue, if full name selected sort getting same issue firstname


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -