Jump to content

arilotta

uniGUI Subscriber
  • Posts

    187
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by arilotta

  1. 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:

     


     

    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

     

  2. 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...