YUI Datatable Column Filter
Does anyone know of any plugins / extensions for YUI Datatable that will allow column sorting similar to how sharepoint grid works.
I'm looking for something that works / looks a bit like sharepoint (click on a column header and a dropdown appears with options to filter data based on the data in that column): Sharepoint Grid Column Filter http://drop.io/ download / public / eoq8cfcggp0bkw8wejlk / fb8b74641fc499f205222c7bc128644fef046a80 / 16a2e690-486e-012b-de36-00127994f632 / 08a51310-85e6-012c / thumb_large-fcail
Does anyone have any idea?
Thank.
source to share
I don't believe that something like this currently exists. Ascending / Descending sorting is supported out of the box, but I assume you know that.
Filtering can be done (examples here and here ), but not with the UI you want. You should probably tell your boss that the cost associated with your recording, this feature to satisfy his whim is probably not worth it and you need to find another interface paradigm that is easier to implement.
That said, if you decide to subclass the DataTable to do something like this, do push your changes to YUI so everyone can benefit from them.
source to share
Can't you just use the context menu like this:
http://developer.yahoo.com/yui/examples/datatable/dt_contextmenu.html
source to share