first file always selected

1 posts, 0 answers
  1. Ryan Fligg
    Ryan Fligg avatar
    3 posts
    Member since:
    Apr 2010

    Posted 17 Apr 2010 Link to this post

    hi, sorry about the multiple posts on this, the forum kept saying there was an error.

    I am having a problem where the client selected item is always the same.  I'm just using the javascript from the detecting selected file example, the only difference is that I have a custom FileBrowserContentProvider for sharepoint.  When I click a file in the grid, the event args passed to the selected item event handler are always for the first item instead of the one I selected.  I also tried using sender.get_selectedItem() instead, but that also always returns the first file item, even though the highlighted item is different.

    Has anyone hit this problem before?  Any idea what might be causing this?
Back to Top