PDA

View Full Version : Combobox query mode



18 Mar 2016, 4:27 PM
Hi,

I have a grid that I want to render a combo box for a grid cell. The combo box content needs to be assigned once after the grid is initialized. I got everything to work fine except one thing. I do not want the combo box to keep making remote query to populate the combo box store. It just needs to be populated once. Also, I have two combo boxes in the same grid entry so I want to second combobox to use the same store as the first combo box. I tried setting queryCaching to true but it does not do what I want. Setting query mode to local should not be the correct answer here as well. Can someone shed some light or guide me with some direction to tackle on this issue?

Thanks in advance,
Ronald

jdkhamba
20 Mar 2016, 8:54 AM
Setting query mode to local should not be the correct answer here as well

Why not? That seems to be the right answer. Use and editable grid with a combo as the editor with queryMode:'local' and have separate stores for each combo box and you are good to go.