how to display sort selections with Table ViewColumn?
I have a piece of code like this
However i didn't get the amount and discount sort to appear
This is what i had in mind (which didn't happen). I tried to use the Split to get the Sort by thing to show but it didn't too
8 Replies
bump
Well, it didn't because it's hidden π
but i want to sort by it
every item is display through the View::make() where i display each item in a more customised manner inside a blade view (which contains the date, amount, title.etc)
but i still want the ability to sort by date, amount, title.etc
Sorry, I don't know how to make that work. You probably need to overwrite the logic for the available columns on sort and search
how do i do so? earlier i tried this but didn't work in my attempt to add amount and discount as sort options
Well, I just said, that I don't know how to do that π
And you just shared the same code example again.
i mean this, u said this below. i ask how do i do so?
You probably need to overwrite the logic for the available columns on sort and search
You need to source dive the code and see whether you can change it at some point. I don't have exaact instructions.,