PDA

View Full Version : How to make text selectable in Ext.grid.Panel



turutosiya
21 Aug 2012, 6:47 PM
Hi,

I'm developping with ExtJS 4.1 (GPL)
And looking for a way to enable text selection in grid cell.

I did a little research,

https://www.google.com/search?q=grid+text+selectable+site%3Awww.sencha.com%2Fforum

But I could not find a solution.

Is there a way to do this?

mankz
21 Aug 2012, 9:01 PM
See docs for GridView, and look up enableTextSelection.

turutosiya
21 Aug 2012, 10:14 PM
mankz,

Thanks! This is exactly what I'd like to do.

http://docs.sencha.com/ext-js/#!/api/Ext.view.Table-cfg-enableTextSelection (http://docs.sencha.com/ext-js/4-1/#!/api/Ext.view.Table-cfg-enableTextSelection)