Sunday, February 8, 2009

ExtJs Grid Extension with Copy,Paste of selected Cell,Row and Grid

Grid is a very crucial component while building business applications.
One very required feature of grids is context menu with copy cell,row and entire grid. In our application we needed this feature to be there in almost all the grids in the application. So inspired by this post on extjs forums

http://extjs.com/forum/showthread.php?t=13340

I have made a grid extension which has copy cell,row and grid features. The reason behind making this extension is re-usability since i cant write the same code for every grid just to get these functions(cell,row,table copy).

For Mozilla Browsers I made use of a workaround on this post

http://www.jeffothy.com/weblog/clipboard-copy.


So here i am posting the code of ExtJs grid extension with copy cell,row and grid,sample html with extjs grid . take care of css ,images paths of extjs.


http://www.box.net/shared/i9m7i36llx


Note :
For Asp.net users please take care of Date.Format issues when your column type is Date Type.

No comments:

Post a Comment