Hello;
I have to insert some td html elements in the results table of the Directions dijit (version 3.22) and I need to remove the "segment-select" event of the Direction dijit.
What I want is that when I click on any of the segments of the direction table results, the map view does not move to the selected segment in the map
I have tried to do this in the direction finish event function and in the startup function of the widget but without results.
1-
var buttonHandler = on.pausable(this._dijitDirections, "segment-select");
buttonHandler.pause();
2-
var buttonHandler = on(this._dijitDirections,'segment-select', lang.hitch(this, function (evt) {
}));
buttonHandler.remove();
3-
var buttonHandler = on(this._dijitDirections,'segment-select', lang.hitch(this, function (evt) {
buttonHandler.remove();
}));
4-
this.own(on(this._dijitDirections, 'segment-select', lang.hitch(this, function (event) {
event.stopPropagation();//and event.target.stopPropagation()
})));
Any suggestions?
Best Regard.