arilotta Posted May 19, 2017 Share 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 Link to comment Share on other sites More sharing options...
arilotta Posted May 26, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Sherzod Posted May 26, 2017 Share 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 Link to comment Share on other sites More sharing options...
arilotta Posted May 26, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
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.