1. #1
    Sencha User harman's Avatar
    Join Date
    Jul 2011
    Location
    India
    Posts
    136
    Vote Rating
    3
    Answers
    2
    harman is on a distinguished road

      0  

    Default Unanswered: Getting error while filtering store using store.filter()

    Unanswered: Getting error while filtering store using store.filter()


    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
    an anyone please suggest?

  2. #2
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    NJ
    Posts
    311
    Vote Rating
    52
    Answers
    59
    droessner is a jewel in the rough droessner is a jewel in the rough droessner is a jewel in the rough

      0  

    Default


    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.

Thread Participants: 1

Tags for this Thread