Feb 14, 2013, 6:20 PM
[CLOSED] Combobox in GridPanel
Hi,
I have a gridpanel with combobox as editor in one of its columns.
When I click the cell where the combobox is, it sometimes does not show me the combobox but just a flash of it.
This behavior happenes more often when I use Chrome but also happens in IE.
Please see below the example:
I have a gridpanel with combobox as editor in one of its columns.
When I click the cell where the combobox is, it sometimes does not show me the combobox but just a flash of it.
This behavior happenes more often when I use Chrome but also happens in IE.
Please see below the example:
var someGrid = Html.X().GridPanel()
.ID("someGrid")
.Store(store => store.Add(someStore))
.ColumnModel(columnModel =>
{
columnModel.Columns.Add(Html.X().Column().Text("so meId").DataIndex("someId").Sortable(true).Width(17 0));
columnModel.Columns.Add(Html.X().Column()
.Text("Status")
.DataIndex("Status")
.Width(80)
.Editor(ed => ed.Add(Html.X().ComboBox().ID("someother")
.Store(st => st.Add(othersomeStatusStore))
.SelectedItems(selectedItems => selectedItems.Add(Html.X().ListItem().Value(Model) ))
.DisplayField("Status")
.SetActive(true)
.Editable(true)
.AutoShow(true)
.ToFront(true)
.SelectOnFocus(true)
.Enable(true)
.Focus(true)
.ListConfig(new BoundList()).Width(180)
.AutoDataBind(true)
.MatchFieldWidth(false)
.QueryMode(DataLoadMode.Local)))
);
})
.SelectionModel(sm => sm.Add(Html.X().
RowSelectionModel().ID("someSelectionModel").Mode( SelectionMode.Single)))
.Plugins(pl => pl.Add(Html.X().CellEditing().ClicksToEdit(1)))
.View(view => view.Add(Html.X().GridView().TrackOver(false)));
Thanks a lot.
Last edited by Daniil; Feb 19, 2013 at 3:42 AM.
Reason: [CLOSED]