Results 1 to 2 of 2

Thread: ST.future.DataView selectAt no Event

  1. #1
    Sencha Premium User
    Join Date
    May 2016
    Posts
    2
    Answers
    1
    Vote Rating
    0
      0  

    Default Answered: ST.future.DataView selectAt no Event

    Hi All.

    I'm very new to the ST suite, but not extJs, so appoligies if I've missed somthing very simple here. The crux of the issue is that when performing a selectAt() on a ST dataview future it doesn't cause the customery 'selected' event to fire. Well... my spyOn didn't register the handler being called. I can see that the item has been selected by using a .getSelected() on the cmp in a .and after the selectAt. So why isn't the event fired?

    Thanks for any responses.

    Matt

  2. I've fixed it!

    This was a lacking in my understanding on the Jasmine SpyOn function. Once I'd added .and.callThrough() to my spyOn statement it worked like a dream.

  3. #2
    Sencha Premium User
    Join Date
    May 2016
    Posts
    2
    Answers
    1
    Vote Rating
    0
      0  

    Default

    I've fixed it!

    This was a lacking in my understanding on the Jasmine SpyOn function. Once I'd added .and.callThrough() to my spyOn statement it worked like a dream.

Similar Threads

  1. DataView event binding
    By driley in forum Ext: Q&A
    Replies: 1
    Last Post: 19 Feb 2013, 8:42 AM
  2. Dataview Event afterrender
    By rssk in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 4 Sep 2009, 6:54 AM

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
  •