--- Posted April 19, 2017 Posted April 19, 2017 I'm using this piece of code to add a table layout to my module configuration: $this ->wire('modules') ->get('MarkupAdminDataTable') Then I use this to add rows to my table: $this ->wire('modules') ->get('MarkupAdminDataTable') ->row($data) But when I try to add a field to my table, It's not rendered as a field, I only see the the classname of the input field instead of the field itself. Is it possible to render a field into a table row?
adrian Posted April 19, 2017 Posted April 19, 2017 I did this in my Admin Actions module. Take a look starting here: https://github.com/adrianbj/ProcessAdminActions/blob/746655c4c9506e6e4175d5f1d6771ee94fb39f40/ProcessAdminActions.module#L749
--- Posted April 19, 2017 Author Posted April 19, 2017 15 minutes ago, adrian said: I did this in my Admin Actions module. Take a look starting here: https://github.com/adrianbj/ProcessAdminActions/blob/746655c4c9506e6e4175d5f1d6771ee94fb39f40/ProcessAdminActions.module#L749 Ah ,that's quite simple actually. It's working now, thanks! 1
--- Posted April 19, 2017 Author Posted April 19, 2017 By any chance, do you know how to set a width on the table columns?
adrian Posted April 19, 2017 Posted April 19, 2017 1 minute ago, FIA2008 said: By any chance, do you know how to set a width on the table columns? CSS using nth-child - https://github.com/adrianbj/ProcessAdminActions/blob/746655c4c9506e6e4175d5f1d6771ee94fb39f40/ProcessAdminActions.css
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now