Where does the Change Column in ListView file can be located?

Hi All,

Where does the php file resides at the gear Change [Check/Uncheck] the column in the listview of the record?

Regards,

Longki

Parents
  • That's actually stored in the the Handlebars template, not PHP metadata. You can find the reference to in ./clients/base/views/flex-list/flex-list.hbs, around line 57, should look something like this:

                        <button class="btn btn-invisible" data-toggle="dropdown" rel="tooltip" title="{{str 'LBL_COLUMNS'}}" data-placement="bottom" data-action="fields-toggle" track="click:morecol"><i class="fa fa-cog"></i></button>

  • Hi Angel Magana,

    Thanks for the reply, can i ask a follow-up question? How can i insert a code in hbs wherein i get the ACL roles?

    So that i could give restriction for this to be disabled in a specific role?

    Thanks in Advance,

    Longki

  • Im good now.. i just have to extend RecordlistView then add function $('[data-original-title="Columns"]').addClass('disabled');

Reply Children
No Data