FoxInCloud
grid.click() event
Gravatar is a globally recognized avatar based on your email address. grid.click() event
  Paul
  All
  Jul 29, 2019 @ 07:45pm

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

Gravatar is a globally recognized avatar based on your email address. re: grid.click() event
  FoxInCloud Support - Thierry N.
  Paul
  Jul 30, 2019 @ 03:20am

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.

Gravatar is a globally recognized avatar based on your email address. re: grid.click() event
  Paul
  FoxInCloud Support - Thierry N.
  Jul 30, 2019 @ 05:37pm

Ok, I will work around it. Thanks.

© 1996-2019