jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts

  • sioux
    Member

    Hi

    I’ve done that by

                    $("#jqxWidget").on('itemclick', function (event) {
    href = dataAdapter.recordids[event.args.id].href;
    if (href!=undefined) window.open(href, '_blank' );
    });

    using:

      var source =
    {
    datatype: "json",
    async: false,
    datafields: [
    { name: 'id' },
    { name: 'parentid' },
    { name: 'text' },
    { name: 'href' },
    { name: 'subMenuWidth' }
    ],
    id: 'id',
    url: './_data/menu.json'
    };

    Martin

Viewing 1 post (of 1 total)