Widget To Display Complete Model And Select One Element


i’m currently using CJuiAutocomplete to let users select a related model for a foreign key field.

It works and it’s good, but what if the user doesn’t know the name of what he’s looking for?

Is there a way to use a widget or something to let the user open an entire model with CGridView and filter/order it to select a foreign key field? Or something similar?

I managed to do that with CJuiDialog and CGridView, but i can’t order or filter anything inside the modal box


Better display it in dropdownbox with all details

I could do that for a small table, but this table could have 2000 rows or even more… it would be crazy to load them all every time.