PDA

View Full Version : [CLOSED] Buffered Loading of Combo Box



Patrick_G
Oct 25, 2013, 9:17 PM
Hello

Was wondering if the issue of using buffered rendering has been extended to MultiCombo's? I am trying some combination of the following:



Html.X().MultiCombo().ID("cboRoute").QueryMode(DataLoadMode.Local).FieldLabel("Routes")
.DisplayField("RouteName").ValueField("RouteID")
.Plugins(Html.X().BufferedRenderer())
.Store(Html.X().Store()
.AutoLoad(true)
.Buffered(true)
.Model(Html.X().Model()
.Fields(
new ModelField("RouteID"),
new ModelField("RouteName")
)
)
.Proxy(Html.X().AjaxProxy()
.Url(Url.Action("RouteList"))
.Reader(Html.X().JsonReader().Root("data").IDProperty("$id"))
)
)
.Triggers(Html.X().FieldTrigger().Icon(TriggerIcon .Clear).HideTrigger(true))
.Listeners(l =>
{
l.Change.Handler = "fnSetTrigger(this);";
l.TriggerClick.Handler = "fnComboClearFilter(this);";
})


I have been trying various combinations of the Plugin, Buffered(true) and QueryMode but with no result.

This thread from last year may be talking about the same thing.
http://forums.ext.net/showthread.php?21265-OPEN-38-Combobox-with-infinite-scrolling

If so and there is not yet a solution, do you have an example of the DropDownField + GridPanel combination?

Thank you for your help.

Baidaly
Oct 25, 2013, 9:44 PM
Hello!



I have been trying various combinations of the Plugin, Buffered(true) and QueryMode but with no result.

This thread from last year may be talking about the same thing.
http://forums.ext.net/showthread.php?21265-OPEN-38-Combobox-with-infinite-scrolling

If so and there is not yet a solution, do you have an example of the DropDownField + GridPanel combination?

Thank you for your help.

Unfortunately, Sencha didn't implement it so it's not possible to add the infinite scroll to DataView or MultiCombo. However, we will as them again and maybe they will provide at least a possible way to do this.


If so and there is not yet a solution, do you have an example of the DropDownField + GridPanel combination?

Thank you for your help.

Here is example: http://examples2.ext.net/#/Form/DropDownField/Overview/

Patrick_G
Oct 26, 2013, 12:13 AM
Wow, thank you for the very quick response and for pointing me at the example. I am sure I can get what I need from that.

Thanks for making such a great product.

Patrick