Bruno17 / MIGX

MIGX for revo 2.2 and above
83 stars 78 forks source link

Handler this.handleColumnSwitch doesn't work for MIGX TVs in MODX 3 #424

Open halftrainedharry opened 4 months ago

halftrainedharry commented 4 months ago

In MODX 3, a "click" event on the MIGX-TV grid doesn't seem to get handled by the custom listener (onClickGrid),

https://github.com/Bruno17/MIGX/blob/352a909a3e06dcdb2dfe8696e52990b1a0f4df81/core/components/migx/templates/mgr/grids/migx.grid.tpl#L711

because a click handler was added for the "Actions-Column":

https://github.com/modxcms/revolution/blob/f197da76b44645172dc3f0eb721961fd4f534c04/manager/assets/modext/widgets/core/modx.grid.js#L1635


A possible solution to fix this is described in this forum post:

https://community.modx.com/t/migxdb-cant-get-multiple-render-clickcrosstick-working/4217/7