stop .click() propagation to the grid
Hi all,
http://foxincloud.com/tutotest/wFormStandardPage.tuto?awForm=event.scx
for the demo, all events are implemented on all controls (events listed in the right textarea are processed by the server)
On the 'grid object' tab, clicking a cell also fires the same event at the grid level:
Grid MyGrid.Click()
Cell Fictxt1.Click()
Grid MyGrid.Mouseup(1, 0, 141, 77)
Cell Fictxt1.Mouseup(1, 0, 141, 77)
Grid MyGrid.Mousedown(1, 0, 141, 77)
Cell Fictxt1.Mousedown(1, 0, 141, 77)
How can we prevent this propagation?
eg. prevent that .onRowClicked() fires after .onCellClicked()
we tried in .onCellClicked(), without success:
return true;
return false;
http://foxincloud.com/tutotest/wFormStandardPage.tuto?awForm=event.scx
for the demo, all events are implemented on all controls (events listed in the right textarea are processed by the server)
On the 'grid object' tab, clicking a cell also fires the same event at the grid level:
Grid MyGrid.Click()
Cell Fictxt1.Click()
Grid MyGrid.Mouseup(1, 0, 141, 77)
Cell Fictxt1.Mouseup(1, 0, 141, 77)
Grid MyGrid.Mousedown(1, 0, 141, 77)
Cell Fictxt1.Mousedown(1, 0, 141, 77)
How can we prevent this propagation?
eg. prevent that .onRowClicked() fires after .onCellClicked()
we tried in .onCellClicked(), without success:
return true;
return false;
Thierry Nivelet (FoxInCloud)
November 27,