开发者

Displaying popup by clicking on cell

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜