jQWidgets Forums

jQuery UI Widgets Forums General Discussions jqxMenu path() feature request

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 9 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqxMenu path() feature request #72428

    jcwren
    Participant

    A useful addition would be to be able to retrieve the menu ‘path’ when an item is clicked. This would most often be used when doing your own processing with the ‘itemclick’ event. Using the menu structure shown below, and clicking on File->Export->Excel, calling the path() method would return an array of [‘File’,’Export’,’Excel’].

    $('#jqxMenu').on ('itemclick', function (event) {
      var path = $('#jxqMenu').jqxMenu ('path', event.args.id);
      console.log path.join ('->');
      /* File->Export->Excel */
    });
    File
      Import
        CSV
        TSV
        Excel
      Export
        CSV
        TSV
        Excel
    Edit
      Find...
      Find & Replace...
    Help
      Help with this page
      Help index
      About
    jqxMenu path() feature request #72439

    Peter Stoev
    Keymaster

    Hi jcwren,

    OK, thank you for the feature request. We will think whether to implement something like that in some future version.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.