iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I have a grid that is readonly; however, the users need the ability to copy the cell value. I noticed when the grid is not editable my two options are "Copy this Row" or "Copy this Table". If the grid was editable, it shows the option "Copy this Cell" as well as the others above, when I click on a cell.
How can I get the "Copy this Cell" functionality on a readonly grids?
The “Copy this Cell” option will only appear in WebGrid’s context menu when a cell is selected.
Your scenario can be achieved by following the steps mentioned below.
For example:
<ISWebGrid:WebGrid ID="WebGrid1" runat="server" DataSourceID="AccessDataSource1" Height="250px" UseDefaultStyle="True" Width="500px"> <LayoutSettings CellClickAction="CellSelect"> </LayoutSettings> <RootTable DataKeyField="ShipperID"> <Columns> <ISWebGrid:WebGridColumn Caption="ShipperID" DataMember="ShipperID" DataType="System.Int32" Name="ShipperID" Width="100px" EditType="NoEdit"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName" Width="100px" EditType="NoEdit"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Phone" DataMember="Phone" Name="Phone" Width="100px" EditType="NoEdit"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> </ISWebGrid:WebGrid>
Hope this helps.
Hello,
To get "Copy this Cell" menu, you should need to set "Allow Edit" yes.However, if you still want to set Read-only into your WebGrid, you would need to add Edit Type properties to No Edit in each of your WebGridColumn.Regards,Handy
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname