for a pure readonly tableview I wanted to remove the checkboxes at the begining of each row:
I was hoping that $options->AllowSelection = 0 in TABLENAME_init() function would do that job, but unfortunately it doesn't and I did not find any other way.
So I ended up with the following JavaScript code in TABLENAME-tv.js:
Code: Select all
$j(function(){
$j("#order-by-selector").closest("tr").hide().remove();
$j("#select_all_records").closest("th").hide().remove();
$j(".record_selector").closest("td").hide().remove();
});
KindRegards,
Jan