Oct 01, 2012, 9:42 AM
[OPEN] [#38] Combobox with infinite scrolling
Hi,
Could you please assist to create a combo with infinite scrolling like it is done with GridPanel in your examples.
I defined the next store and associate it with a combobox control. As a result: one page only was loaded and the combobox scrollbar was set for this only page. So I can't force to show me items from other pages. Btw I saw 3 server calls for Page #1, Page #2, Page #3. So it seems they were buffered successfully.
Thanks in advance!
Could you please assist to create a combo with infinite scrolling like it is done with GridPanel in your examples.
I defined the next store and associate it with a combobox control. As a result: one page only was loaded and the combobox scrollbar was set for this only page. So I can't force to show me items from other pages. Btw I saw 3 server calls for Page #1, Page #2, Page #3. So it seems they were buffered successfully.
<ext:Store ID="storeObjects" runat="server" Buffered="true" PageSize="100" OnReadData="Store_ReadData">
<Model>
<ext:Model runat="server" IDProperty="ID">
<Fields>
<ext:ModelField Name="ID" />
<ext:ModelField Name="Name" />
</Fields>
</ext:Model>
</Model>
<Proxy>
<ext:PageProxy>
<Reader>
<ext:JsonReader Root="data" />
</Reader>
</ext:PageProxy>
</Proxy>
</ext:Store>
Maybe the reason that the combo does not show other pages is he can't deal with Total value which I returned in "Store_ReadData" handler?Thanks in advance!
Last edited by Baidaly; Nov 17, 2012 at 12:38 AM.