28 Posts
pabro
5 years ago
1
Topic

Hi, 

in backend list view i have a field set with Typography JGrid -> Reordering. 

I need restriction with more than one parameter, so i try to remove this field with BeforeRender plugin/field in some cases. I get the field to not display, but also if unset full array of this field, the function of reordering still appears (but without to render field). 

Is there a solution to disable also the reordering function?

I have tried with:

$fields['art_ordering']->display = 0;   
$fields['art_ordering']->state = 0;   
$fields['art_ordering']->typo = '';   
$fields['art_ordering']->authorised = '';
…
unset($fields['art_ordering']);

Thank you.

Get a Book for SEBLOD
4229 Posts
Kadministrator
5 years ago
0
Level 1

Probably beforeRender is not the right event for it, try new beforeSearch event.

Get a Book for SEBLOD