开发者

Displaying popup by clicking on cell

开发者 https://www.devze.com 2022-12-17 05:39 出处:网络
I have datagrid with populated d开发者_StackOverflowata. When the user clicks on one particular cell of one column, the popup window has to be displayed, and also same requirement is there for another

I have datagrid with populated d开发者_StackOverflowata. When the user clicks on one particular cell of one column, the popup window has to be displayed, and also same requirement is there for another column.

I could not find how to do it for cell.doubleclick and click properties are applicable to row selection. Can any one give solution for this requirement?


Listen to the itemClick event of the DataGrid - it dispatches an event of type ListEvent that has columnIndex and rowIndex properties.

If for some reason it doesn't work, you can use a custom itemRenderer and dispatch a custom event using its listData.owner property.

0

精彩评论

暂无评论...
验证码 换一张
取 消