Page 1 of 1
Hide Record Selector Column
Posted: 2020-06-27 04:12
by jaddison
Hi
I want to hide the record selector column in table view.
how do I go about achieving this?
regards
John
Re: Hide Record Selector Column
Posted: 2020-06-27 06:28
by pbottcher
Hi ,
you can use the TABLENAME_init function and set the ShowTableHeader = 0
Re: Hide Record Selector Column
Posted: 2020-06-27 07:45
by jaddison
Thanks for the reply. Unfortunately ShowTableHeader = 0 turns of titles and field selector button only.
Re: Hide Record Selector Column
Posted: 2020-06-27 10:24
by pbottcher
Hi,
ok, can you post an image of what you want to hide
Re: Hide Record Selector Column
Posted: 2020-06-27 13:06
by jaddison
Screenshot attached. Hope this clarifies what I need hidden.
regards John
Re: Hide Record Selector Column
Posted: 2020-06-27 18:50
by pbottcher
Hi,
you can try
Code: Select all
function tablename_footer($contentType, $memberInfo, &$args){
$footer='';
switch($contentType){
case 'tableview':
$footer='<script>$j("td:first-child").remove();$j("tr th:first").remove();</script>';
break;
Re: Hide Record Selector Column
Posted: 2020-06-27 22:36
by jaddison
Thank you pböttcher
that worked just as I wanted. You're a champion!
regards John