is there any column click event in ext js?

廉价感情. 提交于 2019-12-06 13:37:16

There is no special columnclick event on the gridpanel or the selection model, but you can listen to the

cellclick : ( Grid this, Number rowIndex, Number columnIndex, Ext.EventObject e )

event on the gridpanel itself - irrespective which selection model you use. Looking at the columnIndex you'll know which column has been clicked. If you want to react on clicks onto the header row, use the headerclick event instead.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!