Domanda

I'm using jQuery Chosen to turn a <select> item into an <li> item that can be styled with CSS.

The issue I'm running into is 2 of the 3 select items I'm trying to turn into lists are turning into lists, the problem is their <option>s aren't being shown under each respective list. One of the select items is showing its options, and that's the "Show _ entries" drop-down in the top left of the table. I should mention the 2 items that aren't showing the options are using the "YADCF" plugin that I linked to below.

Any idea why 2 of the 3 lists aren't showing the options? The two select items not showing their options are above the "Office" and "Expeditor" columns.

The two other jQuery plugins I'm using are DataTables and YADCF.

http://www.dcturano.com/to-do-list/

È stato utile?

Soluzione

Integration with chosen was added in 0.6.0 version of yadcf

Just add select_type: 'chosen' to the yadcf constructor , here is the showcase page:

DOM source with chosen example

p.s I am the author of yadcf

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top