Skip to content

Question on _cls #267

Description

@kukuk52

I'd like to be able to hide specific rows in a grid based on the User Roles assigned in Knack. Each record in the grid contains a multiple choice field that has the options for the permissions. There's a hidden view that contains the User Roles of the logged-in user on the page. I tried the following but I'm not having any luck:_cls=[ktlDisplayNone],[ktlCond, hasnt, ktlRefVal, Permissions Level, view_2246],[ktlRefVal, field_37, view_2247]

I'm guessing this is just a user error issue. It may also be the case that this is better done with some conditionals and the ktlRoles keyword, but I couldn't figure that out either. Any help would be appreciated.

Thanks,
Dan K

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions