默认情况下gridPanel的列是不支持复制的。只需在创建的gridPanel中添加一下代码即可
如图所示出现复制选项:
[img]http://dl2.iteye.com/upload/attachment/0108/2789/10689a1e-ad4e-3f9a-a14d-92963eb565cc.png[/img]
viewConfig: {
enableTextSelection: true
}
如图所示出现复制选项:
[img]http://dl2.iteye.com/upload/attachment/0108/2789/10689a1e-ad4e-3f9a-a14d-92963eb565cc.png[/img]