You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question in short: Would it be possible to hide triangle (▲) just for one column in sortable table?
Question detailed: I have a tiny question. I have a model and one of the column in db is "starred" which is boolean. I don't really need text, but rather a star in the head of the table. However, I have default sorting-triangle (▲) which is very helpful in general but a bit unnecessary for column, that has no text in the head (like star in my case). So, would it be possible to hide triangle (▲) just for one column in sortable table?
Thank you beforehand!
The text was updated successfully, but these errors were encountered:
Hi @fertingoff, thanks! At the moment, no. It shouldn't be too difficult to monkey_patch the sort_link method in Ransack::Helpers::FormHelper or write a PR that enables passing an optional argument to hide the triangle, if you wanted to do that.
Hi folks! Thank's a lot for you job. Helps a lot!
Question in short: Would it be possible to hide triangle (▲) just for one column in sortable table?
Question detailed: I have a tiny question. I have a model and one of the column in db is "starred" which is boolean. I don't really need text, but rather a star in the head of the table. However, I have default sorting-triangle (▲) which is very helpful in general but a bit unnecessary for column, that has no text in the head (like star in my case). So, would it be possible to hide triangle (▲) just for one column in sortable table?
Thank you beforehand!
The text was updated successfully, but these errors were encountered: