FoxInCloud
grid.click() event
Hi,
Grid.AllowCellSelection is set to .F.
I have found that the click event of the grid is not being triggered, except if I click on an "empty" part of the grid (no rows of data).
When I click on a row of data, the click event of the column's current control is triggered.
This would be the natural VFP behaviour if AllowCellSelection = .T., but not in this case where AllowCellSelection = .F.
Am I doing something wrong or is this the way that FiC works?
Thanks
Paul
Hi,
The ActiveWidget
grid "traps" the click event at the cell level, and stops its native propagation to the containing parents like the <div>
drawn around the grid.
If you click in a desert area instead (without cell), then grid.click()
fires.