Use ActiveWidgets grid as editable ComboBox
Hi there!
I think, this is a tricky task, but if somebody can solve it, that would be a great thing.
I'm looking for a combox widget, that can display data in rows and columns. The whole thing could probably consist of one hidden field for the unique ID, a normal input box (if editable) or a span area (if non editable) and an, which displays the grid.
If a user opens the "combobox" (which is only a click on the image) the datagrid appears and gets the focus, so the user can navigate in it.
As soon as the user presses enter or doubleclicks one item, the ID of the record is transfered to the hidden field and the content of one specific row is displayed as a text within the form.
Does anyone have an idea of how to do that?
Thanks
Mike
I think, this is a tricky task, but if somebody can solve it, that would be a great thing.
I'm looking for a combox widget, that can display data in rows and columns. The whole thing could probably consist of one hidden field for the unique ID, a normal input box (if editable) or a span area (if non editable) and an, which displays the grid.
If a user opens the "combobox" (which is only a click on the image) the datagrid appears and gets the focus, so the user can navigate in it.
As soon as the user presses enter or doubleclicks one item, the ID of the record is transfered to the hidden field and the content of one specific row is displayed as a text within the form.
Does anyone have an idea of how to do that?
Thanks
Mike
Mike
April 24,