Results 1 to 2 of 2

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

  1. #1
    Sencha User harman's Avatar
    Join Date
    Jul 2011
    Location
    India
    Posts
    138
    Answers
    2
    Vote Rating
    3
      0  

    Default 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
    316
    Answers
    59
    Vote Rating
    59
      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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •