Replies: 1 comment 1 reply
-
Thanks for your suggestion and I believe it to be a simple and effective solution. Can you send the PR ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature Request
Summary
Having icons for column headers can be useful to reduce the column width.
However, currently this is not possible as the string is escaped in output in
cols.blade.php
withWhy is this needed?
Example, imagine if we have a column showing visibility as either private or public. Rather than showing the words "Private", "Public" and Visibility, we could have a more thinner column as seen in the screenshot below:
Suggested Solution(s)
There are two potential solutions for this.
cols.blade.php
using blade{{ }}
double curly syntax. Since the column title is provided by the developer using either theColumn::make()
orColumn::title()
command, I am not sure if character escaping is required.cols.blade.php:line33
change to:{!! !!}
.Related issue(s)/PR(s)
Happy to make a PR depending on which solution is better above.
Beta Was this translation helpful? Give feedback.
All reactions