PDA

View Full Version : Getting error while filtering store using store.filter()



harman
23 Aug 2012, 4:05 AM
Hi,

I am using ExtJS 4.0.7 with Chrome.
I put a simple Grid with some button in certain column cells.
I have put buttons which filter the store for some value.
Before filtering i clear the filters.
When i do so i get too many errors every time i filter.

sample code is here http://jsfiddle.net/7ZZ8F/20/

C (http://jsfiddle.net/7ZZ8F/20/)an anyone please suggest?

droessner
23 Aug 2012, 6:33 AM
It looks like there is an issue with your renderer. The errors are occurring because you are trying to render the button to a DOM element that doesn't exist. In your createGridButton function you could check to see if the renderTo element exists and only add the button if it does.