arilotta Posted May 19, 2017 Posted May 19, 2017 Hi, I'm a new user, I'm just starting to use UniGUI. I'm trying to use the UniDbGrid component to replicate an HTML table; and I found a previous topic that helped me to achieve this: http://forums.unigui.com/index.php?/topic/5111-hiding-focus-lines-in-tunidbgrid/ The problem now is that I would like the text to be selected and copied from the grid, and it seems that the text selection is disabled. Is there a way to achieve this ? Thanks in advance to all the contributors ! Andrea Quote
arilotta Posted May 26, 2017 Author Posted May 26, 2017 Hi, nobody could help ? I've seen that the Sencha framework provides an "enableTextSelection" property for "Ext.grid.Panel" and it seems to work (see link below) http://jsfiddle.net/mdnaveed42/G8xtr/ Unfortunately I'm a beginner with UniGUI, and I cannot see how to use that property. Thanks ! Quote
Sherzod Posted May 26, 2017 Posted May 26, 2017 Hi, Thank you for your interest in UniGUI! Can you try this ?!: UniDBGrid -> ClientEvents -> UniEvents -> function beforeInit: function beforeInit(sender, config) { config.viewConfig.enableTextSelection = true; } Best regards, 1 1 Quote
arilotta Posted May 26, 2017 Author Posted May 26, 2017 Thank you so much, it works perfectly ! In addition, I've learnt how to apply Sencha properties to UniGUI Delphi components. Andrea 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.