locked
How can I use ItemInvoked Search Bar in Grid App

    General discussion

  • I've add Search bar in my apps, but i can't control the ItemInvoked event. It's not work in my Grid App.

    How can i use ItemInvoked when search an item in Grid App??

    Thanks!

    Wednesday, August 1, 2012 3:16 AM

All replies

  • I've add but i can't do step 6

    Friday, August 3, 2012 1:40 AM
  • Oh! I have done it :))

    itemInvoked: function (args) {            args.detail.itemPromise.done(function itemInvoked(item) {                // TODO: Navigate to the item that was invoked.                // nav.navigate("/html/<yourpage>.html", {item: item.data});                nav.navigate("/pages/itemDetail/itemDetail.html", { item: Data.getItemReference(item.data) });            });        },

    Thanks everyOne who read this thread :D

    Friday, August 3, 2012 2:01 AM