Jump to content

arilotta

uniGUI Subscriber
  • Posts

    187
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by arilotta

  1. Thank you very much Mark, the "disableSelection" property is exactly the solution I was looking for. I was using the CSS just because I was unaware of the existence of that property...
  2. Hi, I'm using the UniDBGrid OnDrawColumnCell event to colorize cells background according to a query field value. I've hidden the selection as explained in this post: http://forums.unigui.com/index.php?/topic/5111-hiding-focus-lines-in-tunidbgrid/ Therefore, I added these lines to the CustomCSS property: .x-grid-row .x-grid-cell-selected { background-color: #FFFFFF !important; } .x-panel .x-grid-body { border-width: 0 } Now, the problem is that when the user selects a cell with a custom background color defined in the OnDrawColumnCell event, that color is replaced by the selection color, in my case by color white. Is there a way to have the selected cell use the background color defined in OnDrawColumnCell event ? Thanks Andrea
  3. Thank you so much, it works perfectly ! In addition, I've learnt how to apply Sencha properties to UniGUI Delphi components. Andrea
  4. 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 !
  5. 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
×
×
  • Create New...