Title: How to determine which tool in which panel has been clicked? Post by: PaulMcGuinness on February 16, 2018, 02:38:20 AM I'm using Portal Layout to show widgets and want a single refresh tool on each panel (which I've done), but how can I tell which panel 'button' has been pressed.
I've modified the example for Portal layout below, but can't see anything in the event that indicates something I can reference. Code: function addPanels(portalState){ Title: Re: How to determine which tool in which panel has been clicked? Post by: PaulMcGuinness on February 16, 2018, 06:29:51 AM Ok - here is a solution that worked for me... I added a property "action" into my list of panels....
Code: var p = $('<div/>').attr('id',options.id).appendTo('body'); |