Ext.Net 复制GridPanel的数据

Ext.Net 复制GridPanel的数据  

2013-11-28 09:50:04|  分类: Ext.net |  标签: |举报 |字号 订阅

 
 

CSS:

<styletype="text/css">    .x-selectable,.x-selectable *{          -moz-user-select: text !important;         -khtml-user-select: text !important;         -webkit-user-select: text !important;}

.x-unselectable{         -moz-user-select:text!important;         -khtml-user-select:text!important;         -webkit-user-select:text!important;} </style>

 

js:

<scripttype="text/javascript">         var template =‘<div class="x-selectable">{0}</div>‘;                var copyFn =function(value){             returnExt.String.format(template, value);         }     </script>


要复制的列:

<ext:ColumnID="inpNo"runat="server"Text="测点编码"DataIndex="inpNo"Flex="1">     <RendererFn="copyFn"></Renderer>  </ext:Column>

Ext.Net 复制GridPanel的数据,布布扣,bubuko.com

Ext.Net 复制GridPanel的数据

上一篇:jQuery选择器


下一篇:菜鸟学javascript